class list remove
Use this method to remove one or more classes from the class list. 'remove' method belongs to the 'classList' property.
element.classList.remove('class-name', 'some-other-class');
copy