how to get the queryselector for an element code example
Example 1: queryselector
var el = document.querySelector(".myclass");
Example 2: queryselector
document.querySelector(".example");
var el = document.querySelector(".myclass");
document.querySelector(".example");