Issue while creating a Set of Checkboxes

Could you please help me find issue

Error: Make sure each of your label elements has a closing tag.

<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="https://www.freecatphotoapp.com/submit-cat-photo">

    <Label for="caring"><input id="caring" type="checkbox" name="personality"> caring</label>

    <Label for="loving"><input id="loving" type="checkbox" name="personality"> loving</label>

    <Label for="useless"><input id="useless" type="checkbox" name="personality"> useless</label><br><br>

    <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><br>

    <input type="text" placeholder="cat photo URL" required>

    <button type="submit">Submit</button>

  </form>

</main>

The element name is label check that you didn’t change it anywhere.

Hint: you have Label with a capital L in some places

Thank you very much.

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