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
2 months agoYoko
2 months agoSage
2 months agoRuby
11 days agoVivan
14 days agoOneida
16 days agoJacqueline
2 months agoNell
18 days agoMammie
20 days agoFranklyn
1 months agoDino
3 months agoLeonard
3 months agoMargarita
3 months ago