w3schools.com javascrip querySelectorAll code example
Example 1: js queryselectorall
var matches = document.querySelectorAll("p");
Example 2: js queryselectorall
elementList = parentNode.querySelectorAll(selectors);
var matches = document.querySelectorAll("p");
elementList = parentNode.querySelectorAll(selectors);