querySelector select code example
Example 1: queryselector
var el = document.querySelector(".myclass");
Example 2: queryselector
document.querySelector(".example");
var el = document.querySelector(".myclass");
document.querySelector(".example");