Problem with "Basic HTML and HTML5: Create a Set of Radio Buttons"

Tell us what’s happening:
I tried doing it in many different ways (including the help video one) but it just doesn’t go. keeps appearing the errors:
-" Each of your label elements should have a closing tag."
-" Each of your radio button elements should be added within the form tag."

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="radio" name="indoor-outdoor">indoor
    <input type="radio" name="indoor-outdoor">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 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.122 Safari/537.36.

Challenge: Create a Set of Radio Buttons

Link to the challenge:

You have a stray <label> tag after the closing </main> tag.

1 Like

hahahaha i just saw that too, when i tried to do the next one, thankssss!