Why does not want to put the name as personality? im confused

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

Your browser information:

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

Challenge: Create a Set of Checkboxes

Link to the challenge:

You have a typo. You want personality.

what were i wrote personality

You wrote personlity for the first checkbox.

1 Like

@lisanabilhp The first <label for="loving"> element has its nested <input id="loving" type="checkbox" name="personlity"> containing a typo. Fix that mistype and you should be good to go!

thank u im honestly so sorry iv asked so many question based on my stupidity lol

Hey, typos happen to everyone. Its part of coding : )

3 Likes

thank you for answering sorry for taking your time