Radio buttons help

Tell us what’s happening:
I’m trying to create a set of radio buttons. I’ve got all the ticks expect for a closing tag which I’m sure I have done correctly but it still doesn’t go through.

Can someone please check and advise me on what I am doing wrong?

Kind regards
Litiana

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 type="text" placeholder="cat photo URL" required>
  <button type="submit">Submit</button>
  <label>
    <label for="indoor"><input id="indoor" type="radio" name="indoor-outdoor">Indoor
    </label>
  <label>
    <label for="outdoor"><input id="outdoor" type="radio" name="indoor-outdoor">Outdoor
    </label>
</form>
</main>

Your browser information:

User Agent is: Mozilla/5.0 (iPhone; CPU iPhone OS 14_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.1 Mobile/15E148 Safari/604.1.

Challenge: Create a Set of Radio Buttons

Link to the challenge:

for each button you have two opening label tags and one closing label tag, they need to be the same number of tags

1 Like

all should be included to the form

1 Like

Thank you so much guys for the help, I managed to complete it successfully