removeclass javascript vanilla code example Example: addclass js vanilla element.classList.add('className');