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
6 months agoTess
6 months agoCrista
5 months agoElbert
5 months agoKrystal
6 months agoAliza
6 months agoLuisa
6 months agoMariko
6 months agoTennie
7 months agoDanilo
7 months agoJettie
5 months agoSharita
5 months agoBernardo
5 months ago