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! While you're at it, check out some resources Treehouse students have shared here.

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

CSS CSS Selectors Going Further with Attribute Selectors and Pseudo-Classes Structural and Element States Pseudo-Classes Review

Luigi Rulloda
Luigi Rulloda
6,175 Points

is disabled the correct answer why am i wrong?

I'm confused with the question

Which question is giving you problems?

3 Answers

Steven Parker
Steven Parker
231,198 Points

I assume you mean this question:

The __________  pseudo-class selects UI elements that are in a disabled state.

If so, you may have forgotten to prefix your pseudo-class with a colon (:). So try :disabled instead of disabled.

Elinor Armsby
Elinor Armsby
13,987 Points

Ah, I had the same question. I don't think the question was clear in asking for the syntax as well as the name of the pseudo-class.

Jeff Chabot
Jeff Chabot
5,727 Points

terrible question because it's not really asking for the syntax which begins with a colon