I need with creating a set of radio buttons

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="https://bit.ly/fcc-relaxing-cat" 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>
    <input type="radio" name="indoor-outdoor">Indoor
  <label for="indoor">
    <input id="indoor" type="radio" name="indoor-outdoor">Outdoor
<form action="https://freecatphotoapp.com/submit-cat-photo">
  <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/86.0.4240.111 Safari/537.36.

Challenge: Create a Set of Radio Buttons

Link to the challenge:

What does the failing test message say?

Hint: The task asks you to “Add a pair of radio buttons to your form”
Look where you added them.

What have you tried? Try not to ask solutions of any challenge without trying enough else you won’t be able to learn anything.

1 Like

Yes, I know what the failing message says. I was asking you.

You’ve created two radio buttons correctly but they are not placed correctly.
The task tells you to add them to your form and the failing test message says they should be added within the form.

Open this only if you need additional help.

The form element starts with <form> and ends with </form>

Thank you.I’ve got it

Good deal. I knew that you would.
Happy coding!