ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 205 - Certified JavaScript Developer I discussion

Report
Export

Refer to the HTML below:

Which JavaScript statement results in changing " The Lion."?

A.
document.querySelectorAll('$main ONY').innerHTML = '" The Lion
Answers
A.
document.querySelectorAll('$main ONY').innerHTML = '" The Lion
B.
document.querySelector('$main li:second-child').innerHTML = " The Lion ';
Answers
B.
document.querySelector('$main li:second-child').innerHTML = " The Lion ';
C.
document.querySelector('$main li.Tony').innerHTML = '" The Lion ';
Answers
C.
document.querySelector('$main li.Tony').innerHTML = '" The Lion ';
D.
document.querySelector('$main li:nth-child(2)'),innerHTML = " The Lion. ';
Answers
D.
document.querySelector('$main li:nth-child(2)'),innerHTML = " The Lion. ';
Suggested answer: A
asked 23/09/2024
Tuukka Valkeasuo
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first