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 only nesting the text Loving in a label element and place it to the right side of the checkbox input element.
My Code:
<input id="loving" type="checkbox"> Loving
i’ve tried it 30 something different ways. I cant figure this out. Can someone help? Thank you.