Basic HTML and HTML5 Create a set of radio buttons

Tell us what’s happening:

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://bit.ly/fcc-relaxing-cat" 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="/submit-cat-photo">
  <input type="text" placeholder="cat photo URL" required>
  <button type="submit">Submit</button>
</form>

<label><input type="radio" name="indoor-outdoor">Indoor
</label>
<label>
<input type="radio" name="indoor-outdoor">Outdoor
</label>

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

Where is my mistake? Help me please

Here is your form tag. It does not have any radio buttons.

Here are your radio buttons. They are not inside a form tag.

I decided everything thank you

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