Create a Set of Radio Buttons(can't figure out)

Tell us what’s happening:

So I probably am missing something very obvious but i can’t seem to crack this one. I apparently have all that it calls for but still get error messages all over:


Give your radio buttons the name attribute of indoor-outdoor.

Each of your two radio button elements should be nested in its own label element.

Make sure each of your label elements has a closing tag.

One of your radio buttons should have the label indoor.

One of your radio buttons should have the label outdoor.

Cannot read property ‘tagName’ of undefined

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>

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

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


  </form>
</main>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.119 Safari/537.36.

You can use radio buttons for questions where you want the user to only give you one answer.

Radio buttons are a type of input. They should all be nested in their own label element. Furthermore, all related radio buttons should have the same name attribute.

Here’s an example of a radio button:

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

You have written lable instead of label
Change that and try again, write again if there are still tests not passing

Thank you so much! it’s just one of those situations when you have tried all and it’s not until you have a second pair of eyes that you are able to figure it out. Thank you so much for replying.