I hate to say but I am stuck. what should I do?

Tell us what’s happening:
he says Each of your radio button elements should be added within the form tag but if i try to put in the form it still uncorrect what should i do?

  **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://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" 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://www.freecatphotoapp.com/submit-cat-photo">
  <input type="text" placeholder="cat photo URL" required>
  <button type="submit">Submit</button>
</form>

<label for="indoor">
  <input id="indoor" type="radio" name="indoor-outdoor">indoor
  </label>

  <label for="indoor">
  <input id="indoor" type="radio" name="indoor-outdoor">outdoor
  </label>

  

</main>
  **Your browser information:**

Challenge: Create a Set of Radio Buttons

Link to the challenge:

what do the tests say?

image

give like this

Each of your radio button elements should be added within the form tag

Hi @hurrara777 !

Welcome to the forum!

The error messages are telling you that the radio buttons are not inside the form.

Here is your form.

There are no radio buttons here.

You placed then outside the form.
You need to move all of this inside the form.

1 Like