Create a Set of Radio Buttons - what's wrong?

Tell us what’s happening:
Hi guys,
I can’t seem to get by this task and i can’t see where i’m going wrong.
It’s telling me to set the name attribute to indoor-outdoor (which i have), nest the buttons in their own label elements (which i have), and make sure each of the label elements have a closing tag (they do). What am i missing here?
Cheers for the help!

Your code so far

  <p>Click here to view more <a href="#">cat photos</a>.</p>
  <a href="#"><img src="" alt="A cute orange cat lying on its back."></a>
  <p>Things cats love:</p>
    <li>cat nip</li>
    <li>laser pointers</li>
  <p>Top 3 things cats hate:</p>
    <li>flea treatment</li>
    <li>other cats</li>
  <form action="/submit-cat-photo">
    <input type="text" placeholder="cat photo URL" required>
    <button type="submit">Submit</button>

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

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


Your browser information:

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

Link to the challenge:

Check your spelling of label.

1 Like

We’ll just pretend this never happened…

thanks for the help!

1 Like