Dont know where is the error ? he said no closing tag but have 2 of them for each label

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 type="text" placeholder="cat photo URL" required>
    <input id="indoor" type="radio" name="indoor-outdoor"> Indoor
    <input id="outdoor" type="radio" name="indoor-outdoor"> Outdoor
  <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/84.0.4147.89 Safari/537.36.

Challenge: Create a Set of Radio Buttons

Link to the challenge:

you need to modify the label. each one of the radio buttons should be nested within a label tag and has for section.

  <label for="outdoor"> 


@JeremyLT yeah that was the problem all the time dont see it because only look on the 2 radio buttons thx

Your label must come in pairs and must have for="…(example given)"

It looks like you have a stray closing tag after the button.

1 Like