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
Associate the text
Loving with the checkbox by nesting only the text
Loving in a
label element and giving it an appropriate
<input for="loving" id="loving" type="checkbox"> <label> Loving </label>
Sorry, your code does not pass. Hang in there.
label element does not have a
for attribute. Check that there is a space after the opening tag’s name.