In the scenario, the exercise says that if the indoor option were selected, the information sent to the server would be indoor-outdoor:on, I get this. My question is:
What would happen if the user choose another option? Is there is any situation in which the data sent to the server is indoor-outdoor:off in a scenario close to this one? Is there any reason to not use the value attribute?
So, as I understood, every input element of type radio submits its own value to the server when the form is submitted, and with that, every input without value will submit on or off; doesn’t that means that I can have many indoor-outdoor:on and indoor-outdoor:off, won’t that be a problem for the server?