Learn HTML by Building a Cat Photo App - Step 58

Tell us what’s happening:

Hi, I have read all the posts related to step 58, still cannot complete the right codes. Could you please point it the issue out from my codes? Thank you.

Your code so far


<!-- User Editable Region -->

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

<!-- 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/131.0.0.0 Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 58

there are too many spaces inside the label element, try removing them

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

I tried it, however it still shows
" You should add a new label element after the checkbox element. Make sure it has both an opening and closing tag."

you should have kept the space between input and label element, please add a space between input and label element

I did it. and still the same result.

1 Like

wait, why is it on line 1? where is all the other code? you need to restart the step

1 Like

Yeah, that might be the issue in this case. It appears that the rest of the code has been mistakenly deleted. Restarting that step and updating that with your current solution should resolve the issue.

1 Like

Loving

That’s the correct code, you just need to reset this step and I only wrote it the answer because you are right already. Just need to fix problems with other codes.