this will insert provided content as the first child of each of the selected elements. addClass() and. removeClass() — Will remove or add provided classes to all matched elements. hasClass() — Returns a Boolean value (true/false) if the selected element has the provided class name. toggleClass() — Will check if the provided class is present in the selected element. If present
0
Frequently Asked Questions about () — Will insert provided content as the last child of each of the selected elements. prepend() — Unlike append