Please help, i've been trying i keep on getting one error

Tell us what’s happening:
i dont understand what is wrong here

Your code so far


<h2>CatPhotoApp</h2>
<main>
 <p>Click here to view more <a href="#">cat photos</a>.</p>

 <a href="#"><img src="https://bit.ly/fcc-relaxing-cat" 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="https://freecatphotoapp.com/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/83.0.4103.116 Safari/537.36 OPR/69.0.3686.77.

Challenge: Create a Set of Radio Buttons

Link to the challenge:

You need to nest your radio buttons inside your label tags. For example, < label jdhkfa >< radio kdjhak >< /label >. I hope this helps! :slight_smile:

I tried, And am still stuck :cry:

Basically, in your work, you first have your input of type=“radio”, and then, you open and close your label. What I think you must do is do what I did below:

< label for=“indoor” >< input id=“indoor” type=“radio”
name=“indoor-outdoor” > indoor</ label >

This worked for me. I checked. I hope this helps you! I am also working on my Responsive Web Design Certification, and I wish you the best of luck! :slight_smile: :smiley:

Thank you i got it this nest was killing me.

GOOD LUCK TO YOUR Web Design Certification

no problem! and thank you!