Test Set 3

Share it

Time limit: 15:00

Practice Test
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Question 1 of 20
Universal Containers recently launched its new landing page to host a crowdfunding 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:
<div class='ad-library-item ad-hidden' onload='myFunction()'>
<img src='/ad-library/ad01.gif' />
</div>
All the elements include the same `ad-library-item` class. They are hidden by default, and they are randomly displayed while the user navigates through the page. Tired of all the ads, what can the developer do to temporarily and quickly remove them?
Choose 1 answer