javascript remove single class from element code example Example: javascript remove single class from element yourElement.classList.remove('yourClass');