Wont let me pass the two challenges

Tell us what’s happening:
so for some reason the name for the radio buttons (name=“indoor-outdoor”) is not working when it comes to the challenges and it’s saying that they are not nested inside their own label.

Your code so far


<h2>CatPhotoApp</h2>
<main>
  <p>Click here to view more <a href="#">cat photos</a>.</p>
  
  <a href="#"><img src=("had to remove link due to forum rules") alt="A cute orange cat lying on its back."></a>
  
  <p>Things cats love:</p>
  <ul>
    <li>cat nip</li>
    <li>laser pointers</li>
    <li>lasagna</li>
  </ul>
  <p>Top 3 things cats hate:</p>
  <ol>
    <li>flea treatment</li>
    <li>thunder</li>
    <li>other cats</li>
  </ol>
  <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>
  </form>
</main>

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.119 Safari/537.36.

Link to the challenge:
had to remove link due to forum rules

You need to use the container form of <label>, not the separated form. As in:

<label><input id="indoor" type="radio" name="indoor-outdoor"> Outdoor</label>

yeah it took me a bit of looking at others mistakes to figure that out, but thanks lol