Which statement adds the priority = account CSS class to the universal Containers row?

Given HTML below:

<div>

<div id =”row-uc”> UniversalContainer</div>

<div id =”row-aa”>Applied Shipping</div>

<div id =”row-bt”> Burlington Textiles </div>

</div>

Which statement adds the priority = account CSS class to the universal Containers row?
A . Document .querySelector(‘#row-uc’).classes.push(‘priority-account’);
B . Document .queryElementById(‘row-uc’).addclass(‘priority-account’);
C . Document .querySelector(‘#row-uc’).classList.add(‘priority-account’);
D . Document .querySelectorALL(‘#row-uc’).classList.add(‘priority-account’);

Answer: B

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments