I almost got tripped up by option A, but then I realized that the classes property is not a method, so you can't use push() on it. These questions really make you think!
Option C is the correct answer. The querySelector() method selects the first element that matches the specified CSS selector, and the classList.add() method adds the specified CSS class to the element.
Salena
9 days agoYoko
10 days agoSage
11 days agoJacqueline
15 days agoDino
1 months agoLeonard
1 months agoMargarita
2 months ago