Help me Create a Set of Radio Buttons please

I cant figure out the labeling on thids also i know it needs to be within the form

CatPhotoApp

Click here to view more cat photos.

A cute orange cat lying on its back.

Things cats love:

  • cat nip
  • laser pointers
  • lasagna

Top 3 things cats hate:

  1. flea treatment
  2. thunder
  3. other cats
Submit Indoor Indoor Indoor

<h2>CatPhotoApp</h2>
<main>
  <p>Click here to view more <a href="#">cat photos</a>.</p>
  
  <a href="#"><img src='//discourse-cloud-file-uploads.s3.dualstack.us-west-2.amazonaws.com/freecodecamp/original/3X/6/1/61a3499c5abb165be990aa0c1abd23342e60c663.jpg' alt="A cute orange cat lying on its back."></a>
  
  <p>Things cats love:</p>
  <ul>
    <li>cat nip</li>
    <li>laser pointers</li>
    <li>lasagna</li>
  </ul>
  <p>Top 3 things cats hate:</p>
  <ol>
    <li>flea treatment</li>
    <li>thunder</li>
    <li>other cats</li>
  </ol>
  <form action="/submit-cat-photo">
    <input type="text" placeholder="cat photo URL" required>
    <button type="submit">Submit</button>
  </form>
</main>
<label>
  <input type="radio" name="indoor-outdoor">Indoor
</label>
<label for="outdoor">
  <input id="indoor" type="radio" name="indoor-outdoor">Indoor
</label>
<label for="indoor">
  <input id="indoor" type="radio" name="indoor-outdoor">Indoor
</label>

im using mozilla firefox

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0.

Link to the challenge:

The first label is outdoor so, id ought to be outdoor

i agree but it keeps telling me i need one label to be outdoor

changed it to this

CatPhotoApp

Click here to view more cat photos.

A cute orange cat lying on its back.

Things cats love:

  • cat nip
  • laser pointers
  • lasagna

Top 3 things cats hate:

  1. flea treatment
  2. thunder
  3. other cats
Submit Indoor Indoor Indoor </main it still says i need to have one as outdoor

Okay…try switching the position you have outdoor with indoor…just switch the names

1 Like

oh man i found it after the label where the regular text goes both have indoor now i fixed it and it worked:)

1 Like