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.

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 inside the 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 event to 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 script that prevents the load event to be fired.

Answer: C

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments