","learningResourceType":"Practice problem","educationalLevel":"hard","about":"HTML","teaches":"preload scanner","url":"https://journeyuncommon.com/quiz/question/c89ec624-6e63-4e76-ac49-9b2ed68d9d64","inLanguage":"en","isAccessibleForFree":true,"provider":{"@id":"https://journeyuncommon.com/#organization"},"isPartOf":{"@type":"WebSite","@id":"https://journeyuncommon.com/#website","name":"Journey Uncommon","url":"https://journeyuncommon.com"}}
Home / Practice / HTML hard HTML preload scanner Single-choice MCQ An image's real URL is only set by JavaScript (`el.src = ...`) while the static HTML uses a data attribute. Why does this defeat the preload scanner even though the URL string is technically present in the markup? <img data-src="hero.jpg" class="lazy">
<script src="lazyload.js"></script>
JourneyUncommon
Developer screening tests for hiring teams, and free interview practice for the developers taking them. One question bank, split down the middle.
shipping daily
© 2026 Journey Uncommon Crafted with care.