What you will use in this project
- Navigation bars
- Dropdowns
- Attribute selectors
- Form styling
Complete each step in the editor and watch the result as your page takes shape.
A real navbar with a dropdown, and a subscribe form people want to fill in.
Medium · +120 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 5 steps. Each one has its own pass criterion. Click Check code on every step to verify your progress and earn the full +120 XP.
| # | Step & pass criterion | Weight |
|---|---|---|
| 1 |
Highlight the active link
|
20 pts |
| 2 | Build a dropdown Change <a href="#itinerary">Trips</a> to <div class="dropdown">, with <button class="dropbtn">Trips</button> and <div class="dropdown-content"> inside. Links: Italy in 7 days (#itinerary), Norway by train (#), A weekend in Paris (#). | 10 pts |
| 3 |
Open it on hover
|
20 pts |
| 4 |
Style the fields
|
30 pts |
| 5 |
Style the button and focus
|
20 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