Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
Ashleigh Irwin3,180 Points
I found a bug in the CSS specificity quiz.
I found a bug, the question asked for the highest specificity, and I chose the answer with the highest specificity. But the quiz tells me I got the question wrong even though in the explanation it states that I chose the answer with the highest specificity.
Tanja Schmidt11,798 Points
Got curious and tried your quiz - it worked just fine. The answer with the highest specificity is:
That is because it is written directly into this specific html tag and thus it is applied definitely only to this one (=> this is inline style!).
I also tried choosing both of the wrong answers and I think I know what you mean now. You are referring to this message: "Bummer! Inline styles are at the lowest level of the cascade so they have the highest specificity." => This is not saying that you have already picked inline style - it is saying instead that you should have picked inline style to get the answer right. The lowest level of the cascade overwrites all previous levels.