Students Save 30%! Learn & create with unlimited courses & creative assets Students Save 30%! Save Now
Lessons:19Length:2.9 hours

5.3 Manipulating CSS Classes With the DOM API

Once again, jQuery's influence on the modern DOM API is apparent—this time in the relatively new classList property. I'll show you how to use its various methods to add, remove, and toggle classes on an element.