Code isnt working

Tell us what’s happening:
each of my checkbox is nested in its own label but its saying not nested.
my code isnt working

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 for="loving"><input id="loving"type="checkbox" name="personality".>Loving
    <input for="sleepy"><input id="sleepy"type="checkbox" name="personality".> Sleepy
      <input for="mean"><input id="mean"type="checkbox" name="personality".>Mean
      <input type=placeholder="cat photo URL required">
      <button type="submit">submit</button>

Your browser information:

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

Challenge: Create a Set of Checkboxes

Link to the challenge:

I would look at the example that FCC provided and look closely at where they placed the for attribute. Also take a look your input tag. You wrote input twice. Here is the FCC example:

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

Hope that helps

  <input for="loving"><input id="loving"type="checkbox" name="personality".>Loving

The above code should be like below:

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

As jwilkins.oboe said, you wrote input twice, the for="loving" attribute is belong to the label tag.

And the input tag should end with > instead of .> .

Hope that helps