Never mind I figured it out.
The ‘for’ attribute is a part of the opening ‘label’ tag. You have put them all after the opening ‘label’ tags:<label for="smth">
—it should be like this
Thank you for explaining it.
1 Like