Learn HTML by Building a Cat Photo App - Step 56

Tell us what’s happening:

I can’t understand why the code doesn’t work. I can’t understand the supposed solution here in the forum. My code:

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

Hey, welcome to the forum.

“Associate the text Loving with the checkbox by nesting only the text Loving in a label element”

You didn’t wrap the text Loving in the label element. You added the label element before the input. You need to add it around the text Loving.