Practice · 1 of 2
Debug: The Losing Rule
CHALLENGE
Difficulty: beginner+25 XP
A developer complains: 'my .price color rule is ignored!'. The stylesheet has a more specific rule that also sets color on the same element. Find the fight and fix it the *right* way — make the class rule win by lowering the other rule's specificity or scoping it, NOT with !important.
Press Submit to check your solution.
Back to lesson: Practice: Selectors, Classes & the Cascade — Practice