Create a Set of Checkboxes name attribute error

Create a Set of Checkboxes name attribute error
0

#1

Tell us what’s happening:
it is showing error =“name attribute should be personality”, and cannot find any error in my code and i have tried refreshing, maybe there is some typo …
plz help me out…tnxx

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="/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>
  </form>
  <form>
    <label for='loving'><input id='loving' type='checkbox' name='personality'>loving</label>
    <label for='boring'><input id='boring' type='checkbox' name='personaltiy'>boring</label>
    <label for='kind'><input id="kind" type="checkbox" name='personality'>kind</label>
</main>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/basic-html-and-html5/create-a-set-of-checkboxes


#2

You misspelled personality


#3

The attributes in your elements should have " quotes instead of the single ' quotes.

And you should also be putting those checkboxes inside the current <form> element and preferably above the submit button.