removeClass
Removes a class from an HTML element.
- Use
Element.classListandDOMTokenList.remove()to remove the specified class from the element.
Removes a class from an HTML element.
Element.classList and DOMTokenList.remove() to remove the specified class from the element.