Stuck on Creating Radio Buttons

Tell us what’s happening:
I am stuck on this part- I read and re-read the instructions, even clicked on get a hint and watched the video two times. I did it exactly like it said to in the video etc. But it’s still saying I didnt do two things right? like the name should be indoor-outdoor, which they both say.

Your code so far

Indoor Outdoor

  <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 id="indoor" type="radio" name= "indoor-outdoor">
  <label for="indoor">Indoor</label>
  <input id="outdoor"type="radio" name="indoor-outdoor">
  <label for="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/72.0.3626.121 Safari/537.36.

Each of your radio buttons can be nested within its own label element. By wrapping an input element inside of a label element it will automatically associate the radio button input with the label element surrounding it.

I figured it out by looking at similar posts from people who were stuck! Thank you though for helping me I appreciate it. :grinning:

I’m glad to hear that the forum is working! Congratulations on figuring it out. Happy coding!