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