Please guys, whats my error with the checkbox, says i didnt close the label?

Tell us what’s happening:

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

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 9; TECNO KC8) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.116 Mobile Safari/537.36.

Challenge: Create a Set of Checkboxes

Link to the challenge:

you close it with loving
:heart:

2 Likes

look at it, not working??

Of course it not working. You haven’t change it.
<label> loving </label> NOT <label> loving </loving>

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