I have read all other blogs on the topic about this specific step but I still seem to do something wrong and can’t figure out what… The question is Step 56
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 is:
Loving
The console states that I do not have a for statement… In my opinion i processed this correctly. Maybe someone can help me?
In the code there was already a <input id="loving" type="checkbox"> which had to be removed. Otherwise it made two checkboxes, and it only requires one!