Help Plz ASAP. Having trouble with labels

i think i have everything right but it keeps saying ‘‘Make sure each of your label elements has a closing tag’’.
ive checked the video but still unable to fix da problem, pls help.

  **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>
  <input type="text" placeholder="cat photo URL" required><button type="submit">Submit</button>
<label for="kind"><input id='lovng' type="checkbox" name="personality">kind</label>
<label><label for="honest"><input id='honest' type="checkbox" name="personality">Honest</label>
<label><label for="fat"><input id="fat" type='checkbox' name='personality'>Fat</label>     </form>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36

Challenge: Create a Set of Checkboxes

Link to the challenge:

Hi @junkyard . Welcome to freeCodeCamp. :slight_smile: It’s asking you to make sure all your label elements have a closing tag, meaning it starts with a < label > and finishes with a < /label >. I see 4 tags without a closing tag. Can you identify them? Regards.

It worked!! Thanks . Appreciate the help.

1 Like

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