Learning path · 15 lessons · 2 topics
🎨 HTML, CSS & Web Performance interview preparation
Semantic HTML, modern CSS layout, accessibility, browser rendering, security and Core Web Vitals.
Strong frontend engineers understand the platform under the framework: how the browser renders a page, how CSS layout and the cascade work, how to make pages accessible, fast and secure.
Start with HTML and CSS, then learn the browser rendering pipeline, Core Web Vitals, caching and web security.
What you will learn
- Semantic HTML, the box model, Flexbox and Grid
- Specificity, stacking contexts and responsive design
- Rendering, Core Web Vitals and caching
- XSS, CSRF, CSP and accessibility
Topics
Roadmap: beginner to advanced
-
1
Beginner Beginner stage
Foundations: the concepts every interviewer expects you to explain clearly.
HTML & CSS
-
2
Intermediate Intermediate stage
Working knowledge: how things behave in real projects and the trade-offs you make.
HTML & CSS
- Flexbox vs Grid: when do you use each?
- How does specificity work? Explain the cascade, layers and !important.
- Explain CSS positioning and stacking contexts. Why does z-index sometimes not work?
- How do you build a responsive layout? Explain media queries, container queries and fluid units.
Browser & Performance
- What happens when you type a URL and press Enter?
- Explain reflow (layout), repaint and compositing. What is layout thrashing?
- What are Core Web Vitals and how do you improve each?
- Compare browser storage options: cookies, localStorage, sessionStorage, IndexedDB and the Cache API.
- How do you make a web app accessible? Which WCAG rules come up most in interviews?
- How does HTTP caching work for frontend assets? Explain Cache-Control, ETags and cache busting.
-
3
Advanced Advanced stage
Senior depth: internals, scale, failure modes and design decisions.
HTML & CSS
Browser & Performance