let elementsArray = document.getElementsByClassName("className"); // OR let element = document.querySelector(".className");