What you will use in this project
- Padding
- Margin
- Width
- Borders and border-radius
Complete each step in the editor and watch the result as your page takes shape.
Give everything room to breathe.
Padding, margins, photo cards, and round corners.
Easy · +60 XP · HTML CSS
Check code when you’re ready. We grade your work against the step’s rubric and tell you exactly what passed and what still needs work.
This project is broken into 4 steps. Each one has its own pass criterion. Click Check code on every step to verify your progress and earn the full +60 XP.
| # | Step & pass criterion | Weight |
|---|---|---|
| 1 |
Make the header a banner
|
30 pts |
| 2 | Give the sections room In the .section { rule, add padding: 40px and margin: 16px. | 14 pts |
| 3 |
Make photo cards
|
28 pts |
| 4 |
Round the corners
|
28 pts |
Sign in to your W3Schools account to unlock this project, earn XP, and track your progress.
Sign in Create accountFree account
New
Coding fundamentals as bite-sized lessons and challenges.
If you want to use W3Schools services as an educational institution, team or enterprise, send us an e-mail:
sales@w3schools.com
If you want to report an error, or if you want to make a suggestion, send us an e-mail:
help@w3schools.com