Skip to content

Commit f649fbb

Browse files
authored
Merge pull request javascript-tutorial#43 from menou2u/patch-3
Correction in a sentence
2 parents 9845639 + 0966dd4 commit f649fbb

File tree

1 file changed

+1
-1
lines changed
  • 2-ui/1-document/05-basic-dom-node-properties

1 file changed

+1
-1
lines changed

2-ui/1-document/05-basic-dom-node-properties/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ Each DOM node belongs to a certain class. The classes form a hierarchy. The full
472472
Main DOM node properties are:
473473
474474
`nodeType`
475-
: Node type. We can get it from the DOM object class, but often we need just to see is it a text or element node. The `nodeType` property is good for that. It has numeric values, most important are: `1` -- for elements,`3` -- for text nodes. Read-only.
475+
: Node type. We can get it from the DOM object class, but often we need just to see if it is a text or element node. The `nodeType` property is good for that. It has numeric values, most important are: `1` -- for elements,`3` -- for text nodes. Read-only.
476476
477477
`nodeName/tagName`
478478
: For elements, tag name (uppercased unless XML-mode). For non-element nodes `nodeName` describes what is it. Read-only.

0 commit comments

Comments
 (0)