What did I get wrong?

Tell us what’s happening:

Creating radio button - said I need to have them in their own label- and have closing tag . Isn’t is closing tag?

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="/submit-cat-photo">
  <input type="text" placeholder="cat photo URL" required>
  <button type="submit">Submit</button>
<input id="indoor" type="radio" name="indoor-outdoor"> indoor</lable>

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



Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.5 Safari/605.1.15.

Challenge: Create a Set of Radio Buttons

Link to the challenge:

Look at what the console said you did wrong and what its supposed to be.

  • Looking at the code, you have made a little typo there. Tell me what’s wrong with this code.
<input id="indoor" type="radio" name="indoor-outdoor">

You must think I ‘m blind or stupid but I don’t see anything wrong or misspell

You see, you opened it with <label> but you closed it with <lable> which is not the syntax HTML uses. So it’s just a small typo.

I got it. Thank you. .