javascript dom query selector code example Example: javascript dom query selector const elt = document.querySelector("#myId p.article > a");