Create a Set of Radio Buttons again

Tell us what’s happening:
Give your radio button a name attribute of indoor-outdoor
One of the radio buttons should have the id of indoor
Each of your two radio buttons should be nested in it’s own label

I watched the video and cannot figure out why it won’t pass

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">

    <lable for="indoor"><input id="indoor" type="radio" name="indoor-outdoor">Indoor</lable>
    <label for="outdoor"><input id="outdoor" type="radio" name="indoor-outdoor">Outdoor</label>
    <input type="text" placeholder="cat photo URL" required>

    <button type="submit">Submit</button>


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:

Sorry for such a stupid newbie error but I misspelled label as lable on the indoor cat label, my bad. I fixed and all is catnippy with the world.

1 Like