Tell us what’s happening:
Describe your issue in detail here.
<input id="loving" type="checkbox"> <label> Loving </label>
what is the error in this line?
what is meant by this? “The new
label element does not have a
for attribute. Check that there is a space after the opening tag’s name”.
Try to link the challenge when you ask for help. This way it makes it easier for people to see what challenge you are on and how we can help better. The error is telling you what is wrong, your label does not have a for attribute. Here is an example of what a label looks like. The
for attribute specifies which form element a label is bound to. Also, you dont need any spaces before or after the “loving” text you have
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.