First of all, I’ll assume that you closed the main function but just didn’t paste it.
Second, try adding quotation mark:
if(event.target.value === "1")
and for all the others.
First of all, I’ll assume that you closed the main function but just didn’t paste it.
Second, try adding quotation mark:
if(event.target.value === "1")
and for all the others.