queryselectorall for elements that weren't created code example
Example 1: js queryselectorall
var container = document.querySelector("#test");
var matches = container.querySelectorAll("div.highlighted > p");
Example 2: js queryselectorall
elementList = parentNode.querySelectorAll(selectors);