Learn HTML by Building a CatPhotoApp - step 58

I used the same code as part of step 56, and it worked then. My code:

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

I have tried with capitals in the label for, lowercase L in the label text, no space after the element and so forth. The example text they give is:

<label for="breakfast">Breakfast</label>

so I put:

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

and it doesnt work.

Welcome to the forum @Kanjini

The label text Loving should only be inside your new label element. Make sure you did not duplicate the text outside the label element.

The word Loving appears twice in the browser.
Please remove the one appearing after the input element.

Happy coding

For next time you need help please use the HELP button.

If you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the Help button located on the challenge. This button only appears if you have tried to submit an answer at least three times.

The Help button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.