File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
days/005-008-html5/demos/signup Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -15,10 +15,11 @@ <h1>Sign up for FoxRem</h1>
15
15
16
16
< form action ="" method ="post ">
17
17
18
- < input type ="text " name ="full_name " placeholder =" full name ">
19
- < input type ="text " name ="email " placeholder =" email ">
20
- < input type ="text " name ="password " placeholder =" password ">
21
- < select name ="heard_of ">
18
+ < input type ="text " name ="full_name " required placeholder =" full name ">
19
+ < input type ="email " name ="email " required placeholder =" email ">
20
+ < input type ="password " minlength ="6 " name ="password " required placeholder =" password ">
21
+ < input type ="number " min ="18 " name ="age " required placeholder =" age in years ">
22
+ < select name ="heard_of " required >
22
23
< option value ="" selected > Please select an option</ option >
23
24
< option value ="podcast "> Podcast</ option >
24
25
< option value ="search "> Search engine</ option >
You can’t perform that action at this time.
0 commit comments