Pre-Summer Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: validbest

Exam JavaScript-Developer-I All Questions
Exam JavaScript-Developer-I All Questions

View all questions & answers for the JavaScript-Developer-I exam

Salesforce Developer JavaScript-Developer-I Question # 28 Topic 4 Discussion

JavaScript-Developer-I Exam Topic 4 Question 28 Discussion:
Question #: 28
Topic #: 4

Refer to the HTML below:

  • Leo
  • Tony
  • Tiger

Which JavaScript statement results in changing “ Tony” to “Mr. T.”?


A.

document.querySelectorAll(‘$main $TONY’).innerHTML = ’ Mr. T. ’;


B.

document.querySelector(‘$mainli:second-child’).innerHTML = ’ Mr. T. ’;


C.

document.querySelector(‘$main li.Tony’).innerHTML = ’ Mr. T. ’;


D.

document.querySelector(‘$main li:nth-child(2)’),innerHTML =’ Mr. T. ’;


Get Premium JavaScript-Developer-I Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.