How would you add a new class "newClass" to an element with the id "myDiv"?
<div id="myDiv" class="existingClass"></div>
document.getElementById("myDiv").classList.?("newClass");
How would you add a new class "newClass" to an element with the id "myDiv"?
<div id="myDiv" class="existingClass"></div>
document.getElementById("myDiv").classList.?("newClass");