1×
Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.

Autoplay

    Manipulate the DOM with the classList API

    javascriptJavaScript

    Learn how to add, remove and test for CSS classes using the classList API. It's more powerful than using className and doesn't require any dependencies.