This course is about the space, size, and type of everything on a web page. You’ll work on the Elm Street Community Garden’s website. As the course begins, its home page has its colors, but its lines run the full width of the window, and its photo sits at its own size. By the end, the same page has a real design.
Rosa, the garden’s volunteer coordinator, wants the whole site to look as though it belongs together. So you’ll turn the events into cards, give the plots table room in its cells, and stop a long email address from spilling out of its card on a phone. If you’ve ever nudged a margin or a width until a page looked right, this course gives you the model behind it.
By the end of this course, you’ll be able to:
- Control the size and spacing of every box
- Set readable typography
- Give a site a consistent visual design from a well-organized stylesheet
A project then brings the whole design into the site’s own stylesheet.
Before You Start
You need to know how to write CSS rules in a linked stylesheet and size text in rem. You’ll also use custom properties, and find rules in DevTools’ Styles pane. For tools, you’ll need:
- A current version of Chrome or Edge
- An editor with a live preview
The course uses only HTML and CSS, with no JavaScript. If you’re new to the garden’s site, the first lesson gives you its folder and its photos.
How the Course Works
Most sections mix videos and text lessons, then end with exercises: you write code in the browser, and tests check it. The course ends with a project, a conversation where you explain your design to the platform’s AI mentor, and a quiz. Start with the first lesson, See Every Element as a Box.