Help i cant pass step 56

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.

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

Hi @khalidgirma3 welcome to our forum.
Nest the text Loving in a label element.

1 Like

Welcome to the Forum :partying_face:

Here this step is telling you to wrap your word Loving into an Label element.
like below

<label>Hello World</label>

Hope you understand. :blush:

1 Like

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