Remove CSS class from element with JavaScript (no jQuery) [duplicate]

Could anyone let me know how to remove a class on an element using JavaScript only? Please do not give me an answer with jQuery as I can’t use it, and I don’t know anything about it.

Leave a Comment