Code for html step 55

Here is my code
<label><input for="loving" id="loving" type="checkbox"> Loving</label>

I can’t figure out how to nest the label within the input.

It is saying that the text loving should not be located to the left of the checkbox

Hello there,

We recommend familiarising yourself with how to ask a question on this forum. Specifically, you are more likely to get useful help, if you provide a helpful title and description:

That’s a fair question. But in your code, you showed us how to nest the input inside the label element. So you probably do know how to nest one element in another.
Just you have mixed up the order.

To reiterate. In you current code, the element input is nested inside label.
You need to instead nest label inside of input.

please how can i nest the word “Loving” into the label? ive did it but im still getting an error response.

Can you us the all of your code to your latest attempt?

Enclose your code using triple backticks like this.

```html

paste your code here

```

(post deleted by author)

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.

oh ok I totally understand sorry for that.
I will do better next time. Thank you!

1 Like

Please i’m still not getting it please

If you have a question about a specific challenge as it relates to your written code for that challenge, just click the Ask for Help button located on the challenge. It 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.