Create a Set of Radio Buttons-something is wrong with my buttons

Tell us what’s happening:

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

    <input type="text" placeholder="cat photo URL" required>
    <button type="submit">Submit</button>

Your browser information:

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

Here is what you need to work on:

  • Each input tag should be nested within it’s own label element for this challenge. In the example below I have nested an anchor tag within list item tag’s
<li class="nav-li"><a class="nav-link" href="#section_1">Section 1</a></li>
  • The label’s “for” attribute should match the nested input’s ID like the example below:
<label for="example"><input id="example">Text</label>

Hope this helps