Methods Usability

Report a typo

Combine the methods according to their usability.

Match the items from left and right columns
Removes the class if the element contains it, and adds it otherwise.
Replaces a class with another class.
Adds one or more classes to the element.
Removes one or more classes from the element.
Returns true if the element has the specified class, false otherwise .
add()
contains()
toggle()
replace()
remove()
___

Create a free account to access the full topic