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

"The___pseudo-class can target the checked state of a radio button or checkbox." It won't accpet input:checked. Why not?

I think this might be bugged. According to the lesson, "input:checked" would be the correct pseudoclass, however it's not accepting that answer, and I can't complete the quiz. Can someone please fix the bug so I can put in the right answer. Thanks

1 Answer

Joshua Ordehi
Joshua Ordehi
4,648 Points

Doesn't it give you the option :checked without input? The pseudo-class itself should be :checked, input:checked is one of its uses so it shouldn't be the correct answer to that specific question.