Create a Set of Checkboxes inside the <form element

I don’t understand why is this not working here? I am following all the instruction they are asking but it’s still doesn’t work when I submit it! help please

Your code so far

<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
<style>
  .red-text {
    color: red;
  }

  h2 {
    font-family: Lobster, Monospace;
  }

  p {
    font-size: 16px;
    font-family: Monospace;
  }

  .thick-green-border {
    border-color: green;
    border-width: 10px;
    border-style: solid;
    border-radius: 50%;
  }

  .smaller-image {
    width: 100px;
  }
</style>

<h2 class="red-text">CatPhotoApp</h2>

<p>Click here for <a href="#">cat photos</a>.</p>

<a href="#"><img class="smaller-image thick-green-border" alt="A cute orange cat lying on its back. " src="https://bit.ly/fcc-relaxing-cat"></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="/submit-cat-photo">
  <label><input type="radio" name="indoor-outdoor"> Indoor</label>
  <label><input type="radio" name="indoor-outdoor"> Outdoor</label>
  <input type="text" placeholder="cat photo URL" required>
  <button type="submit">Submit</button>
</form>

<label><input type="checkbox" name="personality">cute</label>
  
  <label><inout type="checkbox" name="personality">funny</label>
    
    <label><input type="checkbox" name="personality">loving</label>```

**Link to the challenge:**
https://www.freecodecamp.org/challenges/create-a-set-of-checkboxes

Your closing delimiter for the form element () comes before your check boxes. Move your checkboxes to be within your form element container:

<form>
<!-- your input fields go here -->
</form>

You also have 3 unescaped characters after your closing label for the last checkbox (```).

It’s actually within the form element container but idk why it’s showing here it’s not!

and those (’’’) are not actually on the page, I have no idea where It came from!

solved it! Thank you tho

1 Like