Radio Buttons and Form tag?!

Tell us what’s happening:
So far, I have got everything correct but the part where it says “Each of your radio button elements should be added within the form tag”. Confused!

   **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>
<input type="radio" name="indoor-outdoor">Indoor
<input type="radio" name="indoor-outdoor">Outdoor

   **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36.

Challenge: Create a Set of Radio Buttons

Link to the challenge:

Hello, and welcome!

Notice the <form></form> tags?
Your newly created input buttons should be within those form tags! Perhaps working a little bit with the indentation might make you easily spot this?

P.S.: Don’t forget the </main> closing tag should still be after the form and radio button tags too!

Thank you! I did try putting them in the form tags, I must’ve overlooked that main tag. then.

1 Like

No worries, glad I could help :slight_smile:
Feel free to head back on the forums if you need help again!

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.