ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 39 - Certified JavaScript Developer I discussion

Report
Export

Given HTML below:

<div>

<div id ="row-uc"> Universal Container</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');
Answers
A.
Document .querySelector('#row-uc').classes.push('priority-account');
B.
Document .queryElementById('row-uc').addclass('priority-account');
Answers
B.
Document .queryElementById('row-uc').addclass('priority-account');
C.
Document .querySelector('#row-uc').classList.add('priority-account');
Answers
C.
Document .querySelector('#row-uc').classList.add('priority-account');
D.
Document .querySelectorALL('#row-uc').classList.add('priority-account');
Answers
D.
Document .querySelectorALL('#row-uc').classList.add('priority-account');
Suggested answer: B
asked 23/09/2024
Ramesh Kumar Patel
31 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first