element.childnodes code example
Example 1: get child of child javascript
var li = document.querySelector("li");
var number = 13;
li.children[0].children[0].innerHTML = number;
Example 2: javascript childnodes
const children = document.getElementById('id').childNodes;