Practice · 2 of 2
Selector Scavenger Hunt
CHALLENGE
Difficulty: beginner+25 XP
The boilerplate has a small page. Without touching the HTML, write CSS that:
- Sets color on every <h2> (element selector).
- Sets a background-color on elements of class card.
- Sets color on links *only inside* the nav (descendant selector).
- Sets font-family on the single element with id tagline.
Press Submit to check your solution.
Back to lesson: Practice: Selectors, Classes & the Cascade — Practice