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