I am currently on the section learn html by building a registration form-step 35.
here is the link for context:
The goal of this step seems to be giving the redundant option in a drop down list no value, by making their value = " " . And will give every option that is useful an actual value, value = " 1 " for example.
However I don’t see how this helps. If something doesn’t have a value can’t it still be submitted? Are they just trying to make it so if someone does submit the option that is redundant, that option won’t go to their servers?
sorry if this doesn’t make too much sense. If context is needed I will provide more.
But my original question still stands, what exactly does giving something no value do? ( value = " ")