Specificity Puzzle
HTML / CSS
20 pts
Specificity Puzzle
Three rules are already in the stylesheet. Do not change them. Add new rules below them (no !important, no inline styles) so that:
- The heading
.titlebecomes teal. Hint:#main .titlescores (1,1,0) — you need more. - The nav link with the class
activebecomes orange (the other nav link stays gray). - The link in the footer uses the footer’s colour with
color: inherit.
Checklist
- Make the heading teal without editing the old rule.
- Make only the active nav link orange.
- Let the footer link inherit the footer colour.
🔑 Solution
If you view the solution before passing, you earn half points for this exercise. You still need to type it and press Check to finish.
How it works, step by step
Point at a step to highlight its lines. Type the solution yourself and press Check answer to finish.
