add class queryselector

68

add class queryselector -

const element = document.querySelector("#box");

element.classList.add("class-name");

add class queryselector -

<div id="box"></div>

Comments

Submit
0 Comments