Skip to main content

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.

Back to lesson: Practice: Selectors, Classes & the Cascade — Practice