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

Elinor Armsby
Elinor Armsby
13,663 Points

Why is this wrong?

I answered "checked" and "disabled" to the two questions that asked:

"The [BLANK] pseudo-class can target the checked state of a radio button or checkbox."


"The [BLANK] pseudo-class can target the disabled state of a form input field."

As far as I can see this should be the correct answer. If it is not, what is the correct answer?

2 Answers

Hi Elinor,

pseudo-classes require a colon in front. The quiz may be requiring that you put that in as well.

Elinor Armsby
Elinor Armsby
13,663 Points

Thanks. I discovered that when I saw a question from another student asking pretty much the same thing. IMHO, the question is a little confusing as it doesn't seem to ask for the syntax of actually using the class in CSS but just the name of the class. In any case, I retook the quiz and included the colon and that was the correct answer.