queryselector javascript clas in class code example
Example 1: queryselector
var el = document.querySelector(".myclass");
Example 2: js queryselector names
// This selects the first element with that name
document.querySelector('[name="your-selector-name-here"]');