A responsive results summary component built as a Frontend Mentor challenge.
- HTML5
- CSS3
- Flexbox
- BEM (Block, Element, Modifier) naming convention
- Mobile-first workflow
- Responsive design principle
- Fully responsive layout (mobile → tablet → desktop)
- Accurate spacing and typography based on Figma design
- Clean separation between page layout and component layout
- Consistent box model using
box-sizing: border-box - Scalable and maintainable CSS structure
- How padding, gap, and line-height interact in Flexbox layouts
- Why
gapapplies only between direct children, not container edges - How to control card shape using width constraints
- The difference between Figma’s visual box model and CSS box sizing
- When to use fixed width vs
max-widthintentionally - How to refactor safely using search & replace anchored to syntax
- When to stop pixel-perfecting and define a “good enough” rule
