Welcome to the Treehouse Community
Looking to learn something new?
Wouldn't it be better to select a "email" type for the input element asking for an email address?
The teacher selects a text input type for the field asking for an email address.
<tr> <th><label for="email">Email</label></th> <td><input type="text" id="email" name="email"></td> </tr>
In this case wouldn't it be better to select an "email" type to prevent errors; a user not typing a valid email adress, or maybe a user pressing the space key after their email
Bobby Verlaan29,372 Points
True. It would be better to implement the html5 standard. The foremost reason would be that on mobile the keyboard will be optimized for email input. The digital keyboard will display the @-sign and .-sign. Result: the user uses only one keyboard, instead of having to switch between keyboards 4 times.