how to get a selectro of a dom element js code example Example: queryselector document.querySelector(".example");