Unlimited Plugins, WordPress themes, videos & courses! Unlimited asset downloads! From $16.50/m
Lessons:19Length:2.9 hours
  • Overview
  • Transcript

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.