Learn HTML by Building a Cat Photo App - Step 56

Tell us what’s happening:

I keep getting messages that say "only the word ‘loving’ should be wrapped in the label element, but when I do that, it then says that the type=“checkbox” needs to also be included. I keep going in circles trying different arrangements but nothing is working.

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

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 56

Hello:)

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

You should wrap the Text loving, not the ID in label element and give that label element a proper for attribute.

mod edit: code removed

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.

1 Like

I got stuck doing the right thing but this answer should be on line 45

if you need help with this step please open your own topic. Please do not write into another thread unless your comment is to help answer the question being asked or to follow-up on a comment given about the specific issue.

I’m telling him what he should to, I’m not asking.