Step 55 code not showing correct while it's working properly in the preview section

This was the code I wrote for step 55. What to do? What’s my mistake?

When asking a question, it helps to provide a link to the challenge and whatever error messages you are getting.

You have added the for attribute to the input element instead of the label element.

1 Like

I tried adding it to label element as well, it’s still passing.

The for attribute should be only on your label element. What’s your new code look like?

1 Like


New Code

It is best to post actual code instead of a picture. That lets me run your code.

You should only have the text Loving inside of the label element, no the entire input element as well.

1 Like

Thanks, it finally worked!

1 Like

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