Set of Radio Buttons. Cant get past

Tell us what’s happening:

I cannot get past this part, my code looks right and seems to be functioning correctly. any 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/66.0.3359.139 Safari/537.36.

Link to the challenge:

You have a typo in your second set of label tags

1 Like


Check the name attributes in the radio inputs of your code(you have used - instead of =). Also make sure that the attribute names and label names are exactly the same as given in the exercise (case-sensitive).