InterviewStack.io LogoInterviewStack.io

Frontend Fundamentals: HTML, CSS, and Responsive Styling Questions

The core web-platform skills behind interfaces: semantic HTML, the CSS box model, cascade and specificity, layout systems (flexbox, grid), and responsive styling. Covers writing accessible, well-structured markup and building responsive layouts that hold up across viewports. The implementation foundation for UI work.

MediumTechnical
85 practiced

Describe what a CSS stacking context is and provide one example where ignoring stacking context causes a UI bug in a modal or dropdown.

EasyTechnical
92 practiced

Explain the difference between progressive enhancement and graceful degradation. Give a concrete example of a UI decision that favors progressive enhancement.

HardTechnical
69 practiced

A legacy app must support Internet Explorer 11 for some enterprise customers. Which modern CSS/JS features would you avoid or polyfill, and how would that influence design choices (e.g., layout, animations, icons)?

EasyTechnical
87 practiced

Explain the difference between block, inline, and inline-block elements in HTML/CSS. Give two practical examples where choosing one over the other affects layout and why that matters for a product designer.

MediumTechnical
81 practiced

A designer requests an animation that fades and reflows a long list of 100 items when toggling sort order. Explain the performance implications and propose alternatives that balance perceived motion and performance.

Unlock Full Question Bank

Get access to all 34 Frontend Fundamentals: HTML, CSS, and Responsive Styling interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.