Step 56Passed
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.
<input for="loving" id="loving" type="checkbox">
<label> Loving </label>
Sorry, your code does not pass. Hang in there.
The new label
element does not have a for
attribute. Check that there is a space after the opening tag’s name.