remove class from element javascript vanilla code example
Example: how to remove a class from element with javascript
const div = document.querySelector('div') // Get element from DOM
div.classList.remove('info') // Remove class "info"
const div = document.querySelector('div') // Get element from DOM
div.classList.remove('info') // Remove class "info"