Learn HTML by Building a Cat Photo App - Step 56

Tell us what’s happening:

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 have tried to create a label element with for attribute and value of Loving but still shows that my code does not pass
please i need help

Your code so far


<!-- User Editable Region -->

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

<!-- User Editable Region -->

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 56

This is the original line of code they asked you to modify. Instead of adding a second line with Loving, just modify the original line so that your label tags are placed around Loving.

1 Like

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