let children = parentElement.childNodes;
let firstChild = parentElement.firstChild; Code language: JavaScript (javascript)