js querySelectAll code example
Example 1: js queryselectorall
var container = document.querySelector("#test");
var matches = container.querySelectorAll("div.highlighted > p");
Example 2: js queryselectorall
var matches = document.querySelectorAll("p");