"Basic HTML and HTML5: Create a Set of Radio Buttons"

Hello There!

I’ve been trying for hours and also did research on Google. Where am I supposed to add the “form tag” saying for each radio?

Thanks a lot!


Indoor Outdoor

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>
<form action="https://freecatphotoapp.com/submit-cat-photo">
  <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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36.

Challenge: Create a Set of Radio Buttons

Link to the challenge:


Right now your radio buttons come after the closing tag for your form </form>, but the challenge wants you to put the radio buttons inside of the form, or inbetween the opening and closing form tags.

Hello JeremyLT!

I really appreciate your help. I am trying and still nothing! Could you be more specific than that? I can not figure this out! :grimacing:


How have you updated your code so far?

These lines all look ok to me but should be inbetween your <form> and </form> tags.

Hello JeremyLT!

I managed it! Thanks soooo muchhh for your help!!! :wink: :smiley:


1 Like

How come i see some examples of check box forms where value is included and sometimes not included, also do the attributes " id " " name " ect have to be in any specific order within the element?

Regards , Beginner

2 posts were split to a new topic: Help with create a set of radio buttons