HTML and HTML5: Create a set of checkboxes

Tell us what’s happening:
I have already created set of checkbox but its telling me to ensure each of my label element has a closing tag and it already has

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 for="Loving"><input id="loving" type="checkbox" name="personality">Loving</label>   
<label for="mean"><input id="mean"type="checkbox" name="personality">Loving</label>
<label for="Loving"><input id ="Loving" type="checkbox"name="personality">Loving</label><br>
<input type="text" placeholder="cat photo URL" required>
   <button type="submit">Submit</

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 5.1; rv:52.0) Gecko/20100101 Firefox/52.0.

Challenge: Create a Set of Checkboxes

Link to the challenge:

remove the space in this label , it will work

1 Like

Hello. Your outdoor radio button closing tag has extra space

1 Like

thank you so much i was stuck since yesterday

1 Like