What job the name attribute makes here?
Why without the name attribute, I can choose all the radios?
3 Replies
For every input is important to have the name attribute because is literally the name of the property the value for that input is going to have
For radios is also useful because if they all have the same name, it means they're for the same option, so if you select one, the others are unselected.
Its sort of like defining a variable, 3 times?
yeah