Guided course
Learn CSS step by step
Style a real web page in your browser: colours, text, boxes and rows.
Your CSS is drawn by your own browser, inside this tab. Nothing to install.
- 4
- Topics
- 22
- Lesson screens
- 10
- Hands-on tasks
No account and no install needed for the first topic.
Level 1: Beginner: selectors, text, boxes and rows
1. Selectors and colour
Free to tryPick which elements to style, and change their colour.
- A CSS rule
- Your turn: colour the heading · task
- Choosing by class
- Your turn: one paragraph only · task
- Ids and backgrounds
- Your turn: a background · task
2. Styling text
Free accountChange the size, weight and alignment of text.
- Text size
- Your turn: a bigger heading · task
- Bold and italic
- Lining text up
- Your turn: two declarations · task
3. Boxes: padding, borders and margins
Free accountEvery element is a box. Control the space inside and around it.
- Every element is a box
- Your turn: space inside · task
- Borders
- Your turn: a border · task
- Margins
- Your turn: space outside · task
4. Laying things out in a row
Free accountUse flexbox to put elements side by side and space them.
- From a column to a row
- Your turn: a row · task
- Space between the items
- Spreading items out
- Your turn: a centred row · task
The level ends with a ten-question quiz. Score 70% to earn the level badge.
More levels for this course are being written.
How a guided course works
One screen at a time
Each topic is a short run of screens. Read a little, then do it yourself in the editor beside the lesson.
Tasks that are checked
Your answer is run and compared with a model answer, so you know it works, not just that it looks right.
A quiz opens the next level
Ten questions at the end of a level. Score 70% and the next level opens. Miss it and you see which topics to review.
Your place is saved
With a free account your progress, your answers and your badges are kept, on any device.
A tutor that stays private
The optional AI tutor runs on your own computer through the free desktop app. Your code is not sent to us.