I would like to know how to select all elements with class names \"widget\" and \"hover\" and then remove class \"hover\" from these elements.
I have the following J
Given worked for me.
document.querySelectorAll(".widget.hover").forEach(obj=>obj.classList.remove("hover"));