remove the 'new' when creating a class js 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"