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