Learn HTML by Building a Cat Photo App - Step 56

Tell us what’s happening:

Describe your issue in detail here.

I have tried to input this code in several different ways. I still get the error" The text Loving should be wrapped in a label element." Below are 3 examples I’ve tried.

Your code so far

This is the code I am entering

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

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

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

Your browser information:

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

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 56

Please don’t delete parts of the automatically generated post content.

This label won’t work because more than the word “Loving” is inside of the label

This label won’t work because the word Loving is not inside of the label

1 Like

I do apologize. I will keep everything automatically. But that did resolve the issue. I was able to get to pass using Loving after the input instead of before it.


This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.