@afrataiza
Posted
Oi João, td bem? Acredito q vc pode adicionar um eventListener nos span e aplicar uma condição que quando clicar em um número se ja houver algum dos números selecionados remove o selected dele e adiciona essa class no q está sendo clicado. Ou se preferir pode adicionar input do tipo radio. Mas ai teria q mudar um pouco sua logica. Mas sinceramente acho mais simples usar os inputs.