Exit JAVASCRIPT-DEVELOPER-I Salesforce Certified JavaScript Developer (JS-Dev-101)
Question 3 of 5
0% complete
Q3 Single choice

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:

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.