The instructions for this step:
"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 nesting only the text Loving in a label element and giving it an appropriate for attribute."
I found another person on here who typed the same code as me but their’s passed and mine didn’t so I am confused if I missed something.
It says that " You will need to add a new label element in which to nest the text Loving . Make sure it has both an opening and closing tag."
my code so far
<!-- User Editable Region -->
<input id="loving" type="checkbox"> <label for="loving">Loving</lable>
<!-- User Editable Region -->
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36
Challenge Information:
Learn HTML by Building a Cat Photo App - Step 56