Input elment inside label or outside?

Hello everyone.
I recently noticed a small inconsistency during the HTML-CSS course. Learn Accessibility by Building a Quiz project in particular. At step 19, input element is placed outside of the label element but in step 29 (and the registration form project) input is nested inside the label element. I tired doing both stepes the reverse way but did not notice any visuall difference and SOF everyone is saying is just a matter of a better practice to leave input outside of label. My question is why in one step this has been done differently than an other step??? Is there something that im missing???

I believe this is just to show you different ways of doing this.
You can nest the input inside the label or you can place it outside.