<label for="Loving>"> Loving </label>
<input id="loving" type="checkbox">
there is nothing wrong with it.
If you are working on step 56 of the cat photo app project though, you should not have moved the word Loving from its location.
Click reset to restore the code for the step.
Then after that, add your label tags around the word Loving in the editor.
Do not move it.
1 Like
Welcome to the forum @Rahil
I edited your code for readability.
- the
input
element needs to go before thelabel
element. Please separate the two elements with a single space. - the
for
attribute value is not correct
The value needs to be lowercase, and remove the angular bracket.
Happy coding
1 Like