javascript queryselector where class contains code example Example: queryselector by class javascript document.querySelector(".class-name");