Learning HTML by building a catphotoapp step 56

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

what’s the problem with this code.

Please post a link to the challenge you are on. In the future the best way to ask a question is following the below steps


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 Ask for Help button located on the challenge (it looks like a question mark). This button only appears if you have tried to submit an answer at least three times.

The Ask for 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.

Welcome to the forum @Bhumika1311

The input element needs to go before the label element.
Make sure to separate the two elements with a single space.

Happy coding

1 Like

One of the problems with Step 56 is the example bares no relationship to the actual answer as you will discover on Youtube.