How do I get past an exercise if I just can't figure it out?

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"><label>Loving</label>

Test
Sorry, your code does not pass. Keep trying.

Hint
The text Loving should no longer be located directly to the right of your checkbox. It should be wrapped in a label element. Make sure there is a space between the two elements.

This makes no sense - the directions tell you to place the label element to the right of the input element - after seeing that the code doesn’t work it tells you that the text Loving should no longer be to the right of the checkbox element. ???

In your attempt, you added a label element to the right of the checkbox element.
So far so good. However, you are missing only 1 thing now:

add a for attribute with the same value as the input element’s id

If you can do this last step, you should pass. (note, this instruction is taken from the exercise text).

Edit: also as mentioned below, once the for attribute is created correctly, make sure you place a single space in between the input element and the label element.

Have you make sure there is a space between the two elements?
It will give you the hints that @hbar1st suggested after adding the space

I understand your frustration.
Please channel it into opening a new issue here:

(you can provide the information about the hints etc and your code as well as mention the confusion regarding the location of the label)

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