Notifications
Clear all

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:

1 Posts
1 Users
0 Likes
195 Views
(@siwekphilip)
Posts: 730
Noble Member
Topic starter
 

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.

Show Answer Hide Answer

Suggested Answer: C
 
Posted : 20/10/2022 9:49 am

Latest Salesforce JavaScript Developer I Dumps Valid Version

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Share: