Build cat app step 56 is asking me to Associate the text Loving with the checkbox by nesting only the text Loving in a label element

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

my best. guess i think is this

  <input id="loving" type="checkbox"> <label for='Loving'></label> 

but i have rejigged it a few times and not managed to get past this step ?

1 Like

Please post a link to the Step. Thanks

@bennettjsm
Your label for attribute value should be in quotation marks, and text loving not have any capital letters.and also within opening and closing label tags you need text Loving .