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

Jeffrey Watters
PLUS
Jeffrey Watters
Courses Plus Student 7,403 Points

cannot come up with this answer in the exact format required.

The ____________ pseudo-class selects UI elements that are in a disabled state.

I have watched the video three times and do not know the answer to this question. I know I am paying attention. So what is the answer?

7 Answers

Guil Hernandez
STAFF
Guil Hernandez
Treehouse Teacher

Hi Jeffrey Watters,

I don't mean to make life difficult. The reason the answer requires a colon is because all pseudo-classes require a colon, otherwise they won't work in the browser.

Jeffrey Watters
Jeffrey Watters
Courses Plus Student 7,403 Points

I understand, I just never heard that in the video or heard it expressed that way. I think your class is top notch and you are a genius when it comes to css, just remember everyone else is not a genius like you and we need to progress at a much lower pace than others.

Guil Hernandez
Guil Hernandez
Treehouse Teacher

Thanks for the kind words, Jeffrey Watters. I definitely appreciate your feedback on these quiz questions.

I'm always here to help. Feel free to ping me anytime you have questions. :)

rydavim
rydavim
18,813 Points

Seems like it wants the colon in there.

:disabled

Jeffrey Watters
PLUS
Jeffrey Watters
Courses Plus Student 7,403 Points

This is what I hate about typing in an answer. I answered the question correctly five times but add a colon in there is not part of the question. @guilh makes life difficult. Makes the site less user friendly and makes you want to go elsewhere to learn code. Hey if a teacher or site owner ever reads this why not consider making either the questions more clear like "enter the code" or making everything multiple choice. Instead I wasted hours on this quiz when I could have been learning something.

I agree with rydavim, the answer is :disabled

Jeffrey Watters
PLUS
Jeffrey Watters
Courses Plus Student 7,403 Points

The correct answer may be :disabled, however, the video says "disabled" with no real emphasis on the colon being part of the naming structure or at least that is how I viewed it. I am not saying I am right but rather it would have been beneficial if the video pointed out the naming structure always includes the colon.

I would think having it expressed in a manner that using the colon is part of the name structure would make it clearer to students. As I mentioned in my previous comment I watched the video three times, maybe more than that in reviewing for the purpose of answering this question. I also have three pages of notes on my desk as well and not once did write down the name with the colon, nor did the response from the system, the one you get when an answer is wrong, did not state the syntax was wrong.

Now we all know code only works when it is exact (for the most part) yet we need to learn the exactness in order to apply it. Therefore I was a bit frustrated by the way the question is written or asked since it says "The ____________ pseudo-class selects UI elements that are in a disabled state.", since the syntax suggest the answer is "disabled." I did no think to write it within the colon.

I would think if you want the code the question might be asked somewhat differently. Such as "What is the code for the ___________ pseudo-class selecting Ul elements that are in a disabled state. Therefore the person taking the quiz would know to reply with the exact code.

I believe that when you consider that I am a student and am not experienced, and that needs to be taken into consideration when questioning. I certainly could understand the implied assumption if I had been doing this a number of years but not for two days. It may be helpful if the response system also would make a better hint as well.

Regardless, it is done now and am beyond it.

Thanks for the help,

Jeff

Guil Hernandez
STAFF
Guil Hernandez
Treehouse Teacher

Thanks for all the insight, Jeffrey Watson. I'll see if I can somehow rework that question.

FWIW, I mention that disabled begins with a : at 2:05, and in the teacher's notes. :)

Guil

Jeffrey Watters
PLUS
Jeffrey Watters
Courses Plus Student 7,403 Points

You are the best Guil. Sorry for the frustration yesterday. Trying so hard and it is SO NEW to me. Of course everyday business comes into play and other responsibilities. I think if I had it I would pay big bucks for an easy day!