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.
Scenario-based: A designer and developer disagree about whether to implement a card layout with CSS Grid or Flexbox because of nested complexity and the need for reordering at certain breakpoints. As the UI Designer, how would you mediate the decision, what evidence would you collect, and what compromise or prototype would you propose?
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.
Explain how you would deliver responsive images in production. Include examples using srcset and the <picture> element for art-directed images, and describe how you would name or export assets from a design tool (e.g., Figma) for multiple DPRs and sizes.
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.
Deep dive: how do keyboard navigation, focus traps, and responsive reflows interact? Provide a checklist of accessibility rules you would use when a component resizes or reflows across breakpoints (e.g., menus collapsing), and explain how to avoid trapping keyboard users or losing focus context.
Unlock Full Question Bank
Get access to all Frontend Fundamentals: HTML, CSS, and Responsive Styling interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.