Which jQuery method do you use to add a class name to one or more selected elements?

Question:

Which jQuery method do you use to add a class name to one or more selected elements?

a. clone()

b. addClass()

c. html()

d. removeClass()

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

JavaScript

ISBN: 9781305078444

6th Edition

Authors: Sasha Vodnik, Don Gosselin

Question Posted: