Even though the label and input fields are visually connected, they must also be programmatically linked. You do this using the for attribute on the label. It should contain the id of the input field, linking them together.