Can anyone help me? I'm confused: "Create a Set of Radio Buttons"

Tell us what’s happening:
I was confuse with this part ( label I didn’t understand the logic) but now a get the idea. Thanks Guys.

  **Your code so far**

<label> 
<input type="radio" name="indoor-outdoor">Indoor 
</label>
<label> 
<input type="radio" name="indoor-outdoor">Indoor 
</label>
<label for="indoor">
  <input id="indoor" type="radio" name="indoor-outdoor">
<label for="indoor"> 
<input id="outdoor" type="radio" name="indoor-outdoor">Indoor 
</label>






      **Your browser information:**

User Agent is: <code>Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36</code>

**Challenge:**  Create a Set of Radio Buttons

**Link to the challenge:**
https://www.freecodecamp.org/learn/responsive-web-design/basic-html-and-html5/create-a-set-of-radio-buttons

Hello there.

Do you have a question?

If so, please edit your post to include it in the Tell us what’s happening section.

Learning to describe problems is an important part of learning how to code.

Also, the more information you give us, the more likely we are to be able to help.


You were tasked with adding a pair of radio buttons. Your attempt shows about four.
Use the ‘Reset All Code’ button and follow the instructions in the lesson.

Ask if there’s something you do not understand.

Can you explain precisely what you’re confused with please?

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.