Salesforce Certified JavaScript Developer (JS-Dev-101) JavaScript-Developer-I Question # 5 Topic 1 Discussion

Salesforce Certified JavaScript Developer (JS-Dev-101) JavaScript-Developer-I Question # 5 Topic 1 Discussion

JavaScript-Developer-I Exam Topic 1 Question 5 Discussion:
Question #: 5
Topic #: 1

Universal Containers recently launched its new landing page to host a crowd-funding

campaign. The page uses an external library to display some third-party ads. Once the page is

fully loaded, it creates more than 50 new HTML items placed randomly insidethe DOM, like the

one in the code below:

JavaScript-Developer-I Question 5

All the elements includes the same ad-library-item class, They are hidden by default, and they are randomly displayed while the user navigates through the page.


A.

Use the DOM inspector to prevent the load eventto be fired.


B.

Use the browser to execute a script that removes all the element containing the class ad-library-item.


C.

Use the DOM inspector to remove all the elements containing the class ad-library-item.


D.

Use the browser console to execute a scriptthat prevents the load event to be fired.


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.