I'm pretty sure the answer is A. Who needs to query when you can just select the element, right? This is like finding a needle in a haystack with a magnet!
B) document.query('#row-as').classList.add('priority-account') is not correct, as there is no such method as 'document.query()'. The correct method is 'document.querySelector()'.
The correct answer is A) document.querySelector('#row-as').classList.add('priority-account'). This selects the element with the ID 'row-as' and adds the 'priority-account' class to it.
Jerry
9 months agoTess
9 months agoCrista
8 months agoElbert
8 months agoKrystal
8 months agoAliza
9 months agoLuisa
9 months agoMariko
9 months agoTennie
9 months agoDanilo
9 months agoJettie
8 months agoSharita
8 months agoBernardo
8 months ago