Learn HTML by Building a Cat Photo App - Step 56

Tell us what’s happening:
“The text Loving should be wrapped in a label element”
I am not sure how to solve this issue, the Loving text is wrapped in a label element but it is not registering that way. I have tried many different methods like placing the opening and closing label tags after the input id and resetting and trying again.

Your code so far

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

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Safari/605.1.15

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 56

1 Like

This word Loving is not wrapped in a label though.

1 Like

I remember this. Don’t add a new Loving word (aside from the id value of your new label element, ofcourse). You should nest the preset word Loving in a label element.

input id=“loving” type=“checkbox”> Loving <-----this one

1 Like

Hello! Try to write the word (inside label) without whitespace before and after the word.

I just figured it out and it’s
Mod edit: removed solution

@hmilktea892

It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.

You Need to do this as You already put it ,

But kindly put this section of code in your presented word Loving

Hope You Understand !!