Create a Set of Radio Buttons can't figure it out

Tell us what’s happening:

Help please. I have tried multiple things including copying and pasting from the help video and I can’t find what’s wrong.

Your code so far


<h2>CatPhotoApp</h2>
<main>
  <p>Click here to view more <a href="#">cat photos</a>.</p>
  
  <a href="#"><img src="https://bit.ly/fcc-relaxing-cat" 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>
     <input id="indoor" type="radio" name="indoor-outdoor">
     <lable for="indoor">  Indoor</lable> 
     <input id="outdoor" type="radio" name="indoor-outdoor">
     <lable for="outdoor"> Outdoor</lable>
  </form>
</main>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36.

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

Hi @Talie,

There is a typo (you have written lable instead of label). Also, nest your radio inputs inside their corresponding label tag as explained in the tutorial.

1 Like