remove all elements with class js code example
Example: remove a class from all elements javascript
var class_name='classname';
elements=document.getElementsByClassName(class_name)
for(element of elements){
element.classList.remove(class_name)
}