Style the music school page mobile-first. Base (no query): .nav has flex-direction: column and .hero has font-size: 28px. @media (min-width: 700px): .nav gets flex-direction: row and .hero gets font-size: 48px.
Make the club page responsive, mobile-first. Add the viewport meta tag with content=”width=device-width, initial-scale=1″. Add @media (min-width: 600px) that gives .cards the columns 1fr 1fr 1fr… …and makes the h1 36px.
Style two grids on the running club page: .stats: a grid with repeat(3, 1fr) and a 12px gap. .gallery: a grid with repeat(auto-fill, minmax(120px, 1fr)) and a 12px gap, so every photo keeps the same size.
Make Selam’s products grid responsive. In the .products rule add: grid-template-columns with repeat(auto-fit, minmax(180px, 1fr)). A gap of 20px.
Build the Café Massawa layout with areas. .site: a grid with columns 1fr 1fr 1fr, a gap of 8px and the map “hero hero hero” “menu menu order” “. foot foot”. Name .hero, .menu, .order and .foot as hero, menu, …
Use grid template areas for Ruta’s blog. .page: a grid with columns 180px 1fr and this map: “header header” “nav main” “footer footer”. Give header, nav, main and footer the area names header, nav, main and footer.
The news grid has three columns. Place two items: .headline: from the first column line to the last line, written as 1 / -1. .photo: two rows tall, using span 2.
The café wall has a 4-column, 3-row grid. Place two items with line numbers: .feature: column lines 2 / 4 and row lines 1 / 3. .banner: column lines 1 / -1 (full width).
Turn the cells of the class timetable into a real table-like grid. In the .timetable rule: Make it a grid. Four columns: a 120px time column, then three equal columns of 1fr. Three rows: 50px for the day names, then …
Turn the chess club photos into a grid. Write a rule for .gallery: Make it a grid container. Give it three columns: 1fr 2fr 1fr. Put a 16px gap between the photos.
