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