I need some help to do it

Associate the text Loving with the checkbox by only nesting the text Loving in a label element and place it to the right side of the checkbox input element.

i don’t know what to do to fix the label element. my code:

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

In order for us to see your HTML code you have to wrap it in triple back ticks. On a line by itself type three back ticks. Then on the first line below the three back ticks paste in your code. Then below your code on a new line type three more back ticks. The back tick on my keyboard is in the upper left just above the Tab key and below the Esc key.

1 Like

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