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.
A designer suggests using web fonts for brand consistency. Discuss the trade-offs (performance, FOUT/FOIT, licensing) and outline mitigation strategies so the design remains faithful while keeping good UX.
What is the CSS box-sizing property and why might you prefer box-sizing: border-box in a design system? Provide an example where content-box causes layout surprises.
Explain the FLIP animation technique (First, Last, Invert, Play). Walk through how you'd apply FLIP to animate reordering items in a list and why it improves performance.
Create an accessibility checklist (5–8 items) you would include in a design spec for interactive components (buttons, inputs, dialogs). For each item, briefly explain why it's important.
A mockup shows a 3-column card grid on desktop and a single-column on mobile. Which CSS approaches could you use to implement this responsive layout? List at least two and briefly state trade-offs for each.
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.