Can't see where I could be wrong

  • I got two radio buttons.
  • Both named “indoor-outdoor”.
  • Each of them are nested in it’s own “best practice” “label” element - each case one opener and one closing.
    Rest is already approved.

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="https://freecatphotoapp.com/submit-cat-photo">
  <input type="text" placeholder="cat photo URL" required>
  <button type="submit">Submit</button>
</form>

<form>
 <label>
    <indput id="indoor" type="radio" name="indoor-outdoor">indoor
</label>
</form>
<form>
<label>
  <indput id="outdoor" type="radio" name="indoor-outdoor">outdoor
</label>
</form>
</main>

Your browser information:

User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0.

Challenge: Create a Set of Radio Buttons

Link to the challenge:

you need to add the radio buttons to the existing form element, not create new ones

1 Like

Hi

Typo: you have written indput instead of input in your label!

1 Like

Ahh come on! lol xD Thanks fellas!!!

1 Like