Just replace the name attribute in the input from (name) to value like that The value attribute is a good way to link the label to the input Don’t use the name attribute for linking the label instead use the name attribute same in radio buttons the radio buttons that have same name attribute value can be selected one at one time
Welcome to the forum and thank your for joining in.
Please be aware that this is a learning platform so we don’t like to just give the answer, especially something that can just be cut and pasted. We try to guide the person to the right answer, especially if it is a curriculum problem.