Web Vitals & Performance (50 Qs)•Part 1: Basic & Foundational Concepts (Junior / Entry-Level)
What causes high CLS on modern web pages and what are the simplest fixes?
junior Levelweb-vitalsBasic
In Simple Words:
Top Causes:
- Images, ads, or iframes without explicit dimensions.
- Dynamically injected content (banners, newsletter prompts) inserted above existing content.
- Web fonts swapping (FOUT - Flash of Unstyled Text).
The 3 Universal Fixes:
- Always include
widthandheightattributes on<img>tags, or use CSSaspect-ratio: 16 / 9;. - Reserve space for dynamic ads and banners using CSS
min-height. - Use
font-display: optionalor CSS font descriptor overrides to prevent font reflow.