Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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

Elinor Armsby
Elinor Armsby
13,172 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,172 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.