Please tell me how I can fix my code! it keeps saying three labels need to be nested in its own label...I dont get it!

Tell us what’s happening:

   **Your code so far**

 <p>Click here to view more <a href="#">cat photos</a>.</p>

 <a href="#"><img src="" 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="">
   <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><br>

<laber for = "Loving"><input id= "Loving" type="checkbox" name= Personality"> Loving </label>
<laber for ="Mean"><input id= "Mean"type= "checkbox" name="Personality"> Mean</label>
<laber for = "Sleepy"><input id= "Sleepy" type="checkbox" name="Personality"> Sleepy</label>
 <input type="text" placeholder="cat photo URL" required>
 <button type="submit">Submit</button>
   **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.82 Safari/537.36.

Challenge: Create a Set of Checkboxes

Link to the challenge:

You basically have the right idea, you just have some “attention to detail” errors.

  • “label” is misspelled in 3 places.
  • One of the label closing tags is lacking a back slash.
  • The value of the name attribute is supposed to be “personality”, not “Personality”.

When I fix those, the code passes for me.


Thank you so much! You saved my life. It was driving me crazy for the whole day. A really good lesson to pay attention to detail! Thanks Kevin!