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

how do you add a label element to a form element?

I'm not understanding this

Could you try to explain better what you are not understanding?

Bummer! You need to add a <label> element within the <form> element, right before the first radio button. I don't know how to resolve this issue?

2 Answers

Oh, ok.

On this one, it wants you to add one label first for all the radio buttons, than a label for each one, looks something like this:

label radios

input radio label for input radio

input radio label for input radio

input radio label for input radio

I think a more explanatory message would be "Bummer! You need to add a <label> element within the <form> element, right before the first radio button.".