Click here to navigate the course.

Drag the edges to resize the window.

In Projects, you can keep track of your progress as you go throught the tasks. Check each item as you complete it!

Code Editor
Web Browser
Learn
Style Methods

.removeClass()

Similar to .addClass(), the jQuery .removeClass() method can remove a class from selected elements.

Its syntax is similar to .addClass():

$('.example-class').removeClass('active');

In the example above:

  • .removeClass() is called on .example-class elements.
  • The method removes the 'active' class from all .example-class elements.
Report a Bug
If you see a bug or any other issue with this page, please report it here.