This the question(Each of your two radio button elements should be nested in its own label element.)

<input id="indoor" type="radio" name="indoor-outdoor">

 <label for="indoor">indoor</label>

 <input id="outdoor" type="radio" name="indoor-outdoor">

 <label for="outdoor">outdoor</label>

Hello and welcome to the freeCodeCamp community~!

Your radio elements need to be nested inside your label elements. For example, this child element is nested inside the parent element.

<parent>
  <child>Content</child>
</parent>

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).


If you have a question about a specific challenge as it relates to your written code for that challenge, just click the Ask for Help button located on the challenge. It will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

I don´t know what I’m doing wrong

thanks I try this

<input id="indoor" type="radio" name="indoor-outdoor">

 <label for="radio">indoor</label>

 <input id="outdoor" type="radio" name="indoor-outdoor">

 <label for="radio">outdoor</label>

Please make sure to format your code as I explained in my previous reply.

Additionally, you have not changed your code to reflect the nesting. Your input elements should be nested inside your label elements.

1 Like

I’m still stock please help me