queryselectorall class and tag code example
Example: add class queryselector
const element = document.querySelector("#box");
element.classList.add("class-name");
const element = document.querySelector("#box");
element.classList.add("class-name");