Interview Q&A · questions with model answers
HTML & CSS Interview Questions
Part of the study plan for: Frontend Engineer · Full Stack Engineer
Ordered by how often they're asked. Most-asked answers are free to read in full; members see every answer and can rate their confidence on each.
-
Your page's Cumulative Layout Shift (CLS) score is poor. How do you find and fix the shifts?
Find which elements move and when (Lighthouse "avoid large layout shifts", the Performance panel's layout-shift track, or the web-vitals library's attribution in real-user data), then reserve space…