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