<label for="loving">Loving</label>
<input id="loving" type="checkbox">
what is error
<label for="loving">Loving</label>
<input id="loving" type="checkbox">
what is error
hi and welcome to the forum.
The forum allows you to search for topics so you can look up how other people solved similar problems. You may want to take advantage of this next time you are stuck.
The issue you are having is that you moved the location of the word Loving from the right side of the input to the left.
If you click reset, the code will return to its original state and you can add the labels around the word Loving without moving it from its current location.
Welcome to the forum @lily.M
I edited your code for readabillity.
Please place the input
element before the label element.
Make sure to leave a single space between the input
and label
elements.
For next time, use the following method to post code to the forum:
Happy coding