File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,19 +17,54 @@ <h1>Product Pick</h1>
1717 < div >
1818 < legend > Customer details</ legend >
1919 < label for ="firstname "> First name:</ label >
20- < input type ="text " id ="firstname " name ="firstname " required > < br >
20+ < input type ="text " id ="firstname " name ="firstname " required .*\S.*\S.* > < br >
2121 < label for ="lastname "> Last name:</ label >
2222 < input type ="text " id ="lastname " name ="lastname " required >
23+ < button type ="Submit "> Submit</ button >
2324 </ div >
2425
2526 < div >
2627 < label for ="email "> Email:</ label >
2728 < input type ="email "name ="email " id ="email " required >
29+ < button type ="Submit "> Submit</ button >
30+
2831 </ div >
32+
33+ < div >
34+ < label for ="T-shirt colour "> Select one T-shirt colour:</ label >
35+ < select name ="T-shirt colour " id ="T-shirt colour " required >
36+ < option value =""> Choose one colour</ option >
37+ < option > Black</ option >
38+ < option > Navy blue</ option >
39+ < option > Grey</ option >
40+ </ select >
41+
42+ < button type ="Submit "> Submit</ button >
43+ </ div >
44+
45+ < div >
46+ < label for ="T-shirt Size "> Select one size:</ label >
47+ < select name ="T-shirt Size " id ="T-shirt Size " required >
48+ < option value =""> Choose one size</ option >
49+ < option > XS</ option >
50+ < option > S</ option >
51+ < option > M</ option >
52+ < option > L</ option >
53+ < option > XL</ option >
54+ < option > XXL</ option >
55+
56+ < button type ="Submit "> Submit</ button >
57+ </ select >
58+
59+ </ div >
60+
61+
2962
3063
3164
3265
66+
67+
3368
3469 <!--
3570 try writing out the requirements first as comments
You can’t perform that action at this time.
0 commit comments