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.
When designing complex forms, how should you approach server latency and intermittent failure from a UX perspective? Provide strategies for optimistic UI, progressive saving, and error recovery.
Define what a breakpoint is in responsive design. Provide two examples of how you would choose breakpoint values for a product and why.
Design a small experiment to evaluate whether adding micro-interactions (e.g., subtle hover animations on cards) increases perceived usability without harming performance. Describe metrics, experiment design, and acceptance criteria.
Describe how CSS Flexbox handles cross-axis alignment (align-items and align-self). Provide a short scenario where using align-self would solve a design need without restructuring DOM.
Describe how you would structure CSS in a large product to support component reuse, theming, and prevent style leakage. Compare two approaches (e.g., BEM + atomic tokens vs. CSS-in-JS with scoped styles) and state pros/cons for design handoff.
Unlock Full Question Bank
Get access to all 34 Frontend Fundamentals: HTML, CSS, and Responsive Styling interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.