delete class from html with javascript 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"