Radio Button Challenge

Just wondering, in the lesson on creating radio buttons we are directed to create a code:

< label for=“loving”>< input id=“loving” type=“checkbox” name=“personality”> Loving

I did this for all three radio buttons. However, in the follow-up lesson the pre-filled code in the html window (I don’t know the right terms) is completed this way:

< label>Loving< /label>

Did I miss the part that I was supposed to change the code to the second example? I admit that the way I put it in was rather bulky.

The forattribute isn’t required, but can be useful.

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label