Closed ninavanbergen closed 6 years ago
Good job! π
/add
routeHas heeft titus gemaakt en dat boeit niet
π
<label>
Sex
<input type="radio" name="sex" value="female">
Female
<input type="radio" name="sex" value="male">
Male
</label>
This will break the functionality of the labels themselves. Instead, try wrapping multiple inputs and multiple labels into a <fieldset>
for a more semantic solution:
<fieldset>
<legend>Sex</legend>
<label><input type="radio" name="sex" value="female">Female</label>
<label><input type="radio" name="sex" value="male">Male</label>
</fieldset>
All in all, really well done! Code is very concise, nicely organized and well commented.
Here is my link to my repository