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 Foundations Advanced Selectors UI Element States Pseudo-Classes

What am I doing wrong here?

This is from the UI element states code challenge. Thanks in advance.

2 Answers

Joy Kesten
STAFF
Joy Kesten
Treehouse Guest Teacher

If you're referring to the first challenge: don't forget when you're selecting a disabled state, you need to write a colon :disabled.

Here's the example used in the video: :disabled { }

If you're referring to the second challenge: don't forget the + label to your input[type="radio"]:checked

Good luck!

Maybe I need new glasses or ghosts (unidentified features) live in my computer. I had done as you suggested in your answer (and even attempted to include it in my question). I, nonetheless, retyped everything after your reply. Of course, it worked this time. Oh well. I do appreciate your reply, however. There must have been a syntax error that I did not see.

Joy Kesten
Joy Kesten
Treehouse Guest Teacher

Not to worry, that's why we're here :)