js childnodes type code example Example: javascript childnodes const children = document.getElementById('id').childNodes;