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

Struggling with placing my label.

Ok, I am on html tracks stage 3 "Radio Buttons". Anyways I have watched the video a few times and where I am stuck is at the third question of the challenge. The question asks me to place label name "Shirt Size." above my first radio button. I thought I was doing it correctly but maybe not. I even followed the video to be sure and still nope. Keeps telling me I need to be in the <form> element. I am sure I am since the first two questions didn't mention anything about form.

5 Answers

Here's the solution of the code challenge's third step.

sorry about not including the link or an example but that is exactly how I had it typed in. I kept getting a bummer so I got off for the night. I will try it again today. thanks everyone.

Could you please include the link to the exercise?

Yes, please include a link or a snippet of example code to show what you're having problems with. Chances are the format is off just by a hair, or they're looking for you to have it within a form element.

make sure you have the closing label tag.

It should just say

<label>Shirt Size:</label>

Make sure you also added the : in your label name after Size Also make sure you type it in correctly