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.
Been stuck on this for the last two days. I get that it’s wanting me to make a (for attribute) text and nest it in a label element. But how to formulate it is the major part I’ve been struggling on.
Well I believe you grasped the idea, but I can’t see all your code.
Also I can’t figure out why your code here doesn’t begin with < and doesn’t end with >.
Oh yes, now I see. Thanks for that.
As you can see, the code now above. I’ve changed the value to “loving” as well. But now I face the same problem. I’m not entirely sure what this means because I already have an id attribute above.
-Your checkbox should still have an id attribute with the value loving . You may have removed the attribute or changed its value.