Learn HTML by Building a Cat Photo App - Step 56

I would pay attention to what the directions say

Associate the text Loving with the checkbox by nesting only the text Loving in a label element and giving it an appropriate for attribute

Your for attribute is no longer a part of your label

please explain with an example .Thank you

I think its pretty straight forward. You have the for attribute in the input, but you need it in the label

Remove for attribute from input element. for attribute is used just for label element. Put the for attribute in the label element and give it the value “loving”.

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