This course is about arranging the boxes on a web page, and the site you’ll lay out is the Elm Street Community Garden’s. As the course begins, every box on its home page stacks in one centered column.
If you’ve fought a layout until it looked right, this course teaches the model behind it, where the parent arranges its children. Rosa, the garden’s volunteer coordinator, wants the whole site laid out. Along the way, you’ll draw a map of the garden’s plots and set a garden photo beside each volunteer’s text.
By the end of this course, you’ll be able to lay out a full site with Flexbox and Grid:
- A header and nav
- A page shell that fills the screen
- Card grids
- A sidebar and a sticky header
- Choosing the right tool for each
A project then lays out every page of the garden’s site at desktop width. Making the site work on a phone is the next step on the path.
Before You Start
You need to know the box model, block and inline boxes, how the cascade picks between competing rules, and DevTools’ Styles and Computed panes. For tools, you’ll need:
- A current version of Chrome or Edge
- An editor with a live preview
You’ll learn DevTools’ flex and grid overlays in the course. If you’re new to the garden’s site, the first lesson gives you its starter folder.
How the Course Works
Each section mixes videos and text lessons, then ends with a browser exercise, where tests check your CSS. You build the garden’s site in your editor. The project is checked against screenshots and ends with explaining your layout to the AI mentor. Then a quiz ends the course. Start with the first lesson, Let the Parent Arrange Its Children.