What you will use in this project
- Position relative and absolute
- Position sticky
- Pseudo-elements
- Opacity
Complete each step in the editor and watch the result as your page takes shape.
Badges on the photos, a drop cap, a menu that stays on screen, and a giant quote mark.
Easy · +110 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 +110 XP.
| # | Step & pass criterion | Weight |
|---|---|---|
| 1 |
Pin badges on the photos
|
30 pts |
| 2 |
Add a drop cap
|
30 pts |
| 3 | Keep the menu on screen In the .navbar { rule, add position: sticky, top: 12px and z-index: 10. The z-index puts the menu on top of the photos. | 10 pts |
| 4 |
A giant quote mark
|
30 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