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---pseudoclass can target the checked state of a radio button or checkbox

quiz structural and element states pseudoclass

Garrett Levine
Garrett Levine
20,305 Points

I'm not sure exactly what you're asking... are you asking for the 'focus' pseduo class, perhaps? an element on the page that is currently receiving attention from the user?

3 Answers

The answer is :checked it must have the colon to process the answer as correct. Hope this helps

Simon Gray
Simon Gray
10,507 Points

It's asking for the :checked pseudo class. Make sure you use the colon or it wont pass.

input[type="checkbox"]:checked {
  display: none;  
}

thank you/

thanks!