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

HTML HTML Forms Choosing Options Create Radio Buttons

I think the radio button quiz is broken.

Step 3 is to add a label with no attributes, step 4 is to add labels WITH attributes. When I add the labels with attributes, Step 3 stops passing.

Hi Ian,

Post the html code that you have.

3 Answers

Figured it out. The instructions are incomplete. The given instructions are "Create and associate a label with each of the 3 shirt size radio buttons. Give them the text 'Small', 'Medium', and 'Large'." This does not say that the labels need to be AFTER the radio buttons, not before.

Better instructions would be: Create a label after each of the 3 shirt size radio buttons. Associate them with the buttons and give them the text "Small", "Medium", and "Large".

Darran McCague
Darran McCague
3,705 Points

Cheers for this, worked for me!

Hazel Kenady
seal-mask
.a{fill-rule:evenodd;}techdegree
Hazel Kenady
Front End Web Development Techdegree Student 16,744 Points

I got tripped up on this particular challenge as well. I think the instructions are vague on purpose. If they were specific in saying in what specific order each element and attribute should be, I feel it would minimize the purpose of watching the videos and the challenges wouldn't be all that challenging. When challenges were first introduced, they were too easy. I think the vagueness adds to the challenge of these exercises.

I'd agree with you if it wasn't for the fact that putting labels before inputs is an entirely valid methodology that you'd been doing for the entire form section up to that point. It's specifically because they want you to do it differently that it needs to be mentioned.

It makes it harder, sure, but in a way that's frustrating and doesn't require knowledge of html to solve.

Wooow...thank you for posting this. I was on this code challenge for almost an hour!