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