how to find an element by query queryselector javascript code example
Example 1: queryselector
var el = document.querySelector(".myclass");
Example 2: queryselector
document.querySelector(".example");
var el = document.querySelector(".myclass");
document.querySelector(".example");