Skip to content

Day 5: Grid Garden & Week 6 Mini-Project

Master all Grid rules by completing Grid Garden and understanding when to choose Grid vs Flexbox.

Feature Flexbox CSS Grid
Dimensions 1D (Row OR Column) 2D (Rows AND Columns)
Focus Content-driven (elements decide size) Layout-driven (grid decides cell size)
Best For Navbars, buttons, form rows, centering Overall page structure, photo galleries, dashboard cards

Section titled “Week 6 Mini-Project: Blog Layout & Photo Gallery”

Project Requirements:

  1. Blog Layout: Header, sidebar with author bio, main content area, and footer structured using grid-template-areas.
  2. Photo Gallery: A gallery section populated with cards using repeat(auto-fit, minmax(250px, 1fr)).
  3. Complete all 28 levels of Grid Garden.