What you will use in this project
- Selectors (class, id, attribute, pseudo)
- Box model and spacing
- Hover and interactive states
Complete each step in the editor and watch the result as your page takes shape.
Style a collection of profile cards.
Use CSS selectors, colors, borders, and pseudo-classes.
Easy · +100 XP · CSS HTML
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 +100 XP.
| # | Step & pass criterion | Weight |
|---|---|---|
| 1 | Reset and typography Universal selector and body font-family defined | 15 pts |
| 2 |
Style the card
|
25 pts |
| 3 | Heading and role [data-role] attribute selector used | 15 pts |
| 4 | Cards side by side inline-block plus max-width and margin auto centering | 20 pts |
| 5 |
Add hover and alternating rows
|
25 pts |
Sign in to your W3Schools account to unlock this project, earn XP, and track your progress.
Sign in Create accountIf 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