Class Attribute

Adds one or more classes to each element in the set of matched elements.

.addClass(class)

Removes one or all classes from each element in the set of matched elements.

.removeClass([class])

If the class is present, .toggleClass() removes it from each element in the set of matched elements; if it is not present, it adds the class.

.toggleClass(class)