javascript add or remove a class from an element 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"