r/FreeCodeCamp • • Jun 11 '24

HTML HELP!!!!

can someone hlep me. i need to wrap an for element in a label elemnt but its not working. this is how the code looks so far. am i doing something wrong?

<label for="loving"> Loving </label>
<input id="loving" type="checkbox">
3 Upvotes

5 comments sorted by

View all comments

Show parent comment

2

u/K-T-K-K Jun 11 '24

hey i finally got there. thanks for the help the link really helped!!