diff --git a/docs/element-properties.mdx b/docs/element-properties.mdx index cbc5bd5..98961a0 100644 --- a/docs/element-properties.mdx +++ b/docs/element-properties.mdx @@ -101,11 +101,11 @@ for (let i = 0; i < children.length; i++) { -### 2. .childNodes +### 3. .childNodes `Element.childNodes: NodeList` -This read-only property returns a live `NodeList` containing all the **child nodes** of the current element, including text nodes. If there are no child elements, it returns a empty NodeList. +This read-only property returns a live `NodeList` containing all the **child nodes** of the current element, including text nodes. If there are no child nodes, it returns a empty NodeList. This property is available on all types of `Node` - like Element, text node, etc.