Please someone help me solve this, I am just a complete beginner. In my course I just came across the question below and I am struggling to find the solution.
There’s another way to associate an input element’s text with the element itself. You can nest the text within a label element and add a for attribute with the same value as the input element’s id attribute.
Associate the text Loving with the checkbox by nesting only the text Loving in a label element and giving it an appropriate for attribute.
Please what is the solution?
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.
If you need help here you need to learn the correct way to ask. I know, it’s frustrating. But to get a good answer, you need to include the actual code you’re working on, including the “user editable section” part. Also, include a link to the lesson you’re on so we can look there to better understand what’s going on.
If you resubmit your question with that stuff in it, you’ll get better answers. Best of luck to you.