Cat 56 - error requesting space

Hi all.
I keep getting the following error: There should be a space between your checkbox and your new label element.

My code:

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

Help me please :slight_smile:

:balloon:Hello! Welcome to the forum!

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.

Happy Coding! :slightly_smiling_face:

1 Like

Welcome to the community @mflc.br !

Try removing the text Loving from behind the input element, and see if that works for you.

I tried it before suggesting it to you.

Keep up the good progress!

3 Likes

it worked. Thank you!

2 Likes

You are very welcome! Now, on with your coding journey.

Keep up the good progress!

2 Likes

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