Radio button portion

Tell us what’s happening:
Can someone help me to understand what i am missing with my code here please?

  **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://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" 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">
<lable for="indoor">
<input id="indoor" type="radio" name="indoor-outdoor"> Indoor
</lable>
<lable for="outdoor">
<input id="outdoor" type="radio" name="indoor-outdoor"> Outdoor
</lable>
</form>
</main>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36

Challenge: Create a Set of Radio Buttons

Link to the challenge:

Your code is actually correct until the <form> element. You just misspelled the word label as lable. Try changing it to this:

<form action="/submit-cat-photo">
  <label for="indoor">
   <input id="indoor" type="radio" name="indoor-outdoor"> Indoor
  </label>
  <label for="outdoor">
    <input id="outdoor" type="radio" name="indoor-outdoor"> Outdoor
  </label>
</form>

Thank you so much for your help this is all new to me and i was so caught up with the process that i missed the spelling. Your a life saver!!!

You’re welcome Henry, I appreciate it.

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