toggle class multiple classes code example
Example: js toggle multiple classes
const toggleCSSclasses = (el, ...cls) => cls.map(cl => el.classList.toggle(cl))
const toggleCSSclasses = (el, ...cls) => cls.map(cl => el.classList.toggle(cl))