Learn HTML by Building a Cat Photo App - Step 56

Tell us what’s happening:

Describe your issue in detail here.
I did wrap the text “Loving” in a label element, im still getting an error message -->The text Loving should be wrapped in a label element. Can someone help please?

Your code so far


<!-- User Editable Region -->

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

<!-- User Editable Region -->

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 56

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!

put your input first then the label

Thanks for the suggestion Zaklina. i did try that. It says " You will need to add a new label element in which to nest the text Loving . Make sure it has both an opening and closing tag."

can you post your updated code?

Hi Zaklina, thanks for willing to guide me. Here is the updated code i used

<input id="loving" type="checkbox">

<label for="loving"> Loving </label>

did you change somthing else ?
when i paste your code i got dis:
Congratulations, your code passes. Submit your code to continue.

“Walk on that sunshine!”

remove add blockers or change the browser…

wow, that was insightful, let me check that right away and update you.

Hurray! Thank you so much for your support Zaklina. I am most grateful for your timely guidance.

I was using Google Chrome and later switched to Safari browser. And it worked :slight_smile:

Congratulations, your code passes. Submit your code to continue.
“Most triumphant!”

Thank you again. :pray:

1 Like

You’re always welcome!

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