How do i do that? please help me

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**
<html>
<body>
<!-- 
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 only nesting the text Loving in a label element and place it to the right side of the checkbox input element.
-->

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

  </main>
</body>
</html>
  **Your browser information:**

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36

Challenge: Step 55

Link to the challenge:

You should be familiar with the label element because you have used it above for the Indoor/Outdoor radio buttons. You have put the text “Loving” in the correct place, now you just need to put it in a label element, and don’t forget to add the for attribute to th label.

you have typos in label tag name and also give space between input and label tags

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