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

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

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