1+ <!doctype html>
2+ < html lang ="en ">
3+
4+ < head >
5+ < meta charset ="utf-8 ">
6+ < meta name ="viewport " content ="width=device-width, initial-scale=1, shrink-to-fit=no ">
7+ < title > Building a Contact Form with API Gateway and SES</ title >
8+ < link rel ="stylesheet " href ="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css " integrity ="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T "
9+ crossorigin ="anonymous ">
10+ < link rel ="stylesheet " href ="/css/style.css ">
11+ < script src ="http://code.jquery.com/jquery-3.3.1.min.js " integrity ="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8= "
12+ crossorigin ="anonymous "> </ script >
13+ < script src ="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js " integrity ="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1 "
14+ crossorigin ="anonymous "> </ script >
15+ < script src ="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js " integrity ="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM "
16+ crossorigin ="anonymous "> </ script >
17+ < script src ="/js/form.js "> </ script >
18+ </ head >
19+
20+ < body >
21+ < nav class ="navbar navbar-expand-md navbar-dark bg-dark fixed-top "> </ nav >
22+
23+ < main role ="main " class ="container ">
24+
25+ < div class ="starter-template ">
26+ < h1 > Building a Contact Form with API Gateway and SES</ h1 >
27+ < p class ="lead "> Fill out this form and submit to API Gateway!</ p >
28+
29+ < form id ="mainForm ">
30+ < div class ="form-row ">
31+ < div class ="col-md-4 mb-3 ">
32+ < label for ="first_name "> First name</ label >
33+ < input type ="text " class ="form-control " id ="first_name " placeholder ="First name " required >
34+ </ div >
35+ < div class ="col-md-4 mb-3 ">
36+ < label for ="last_name "> Last name</ label >
37+ < input type ="text " class ="form-control " id ="last_name " placeholder ="Last name " required >
38+ </ div >
39+ </ div >
40+ < div class ="form-row ">
41+ < div class ="col-md-6 mb-3 ">
42+ < label for ="company "> Company</ label >
43+ < input type ="text " class ="form-control " id ="company " placeholder ="Company ">
44+ </ div >
45+ < div class ="col-md-6 mb-3 ">
46+ < label for ="address1 "> Address 1</ label >
47+ < input type ="text " class ="form-control " id ="address1 " placeholder ="Address 1 ">
48+ </ div >
49+ < div class ="col-md-6 mb-3 ">
50+ < label for ="address2 "> Address 2</ label >
51+ < input type ="text " class ="form-control " id ="address2 " placeholder ="Address 2 ">
52+ </ div >
53+ </ div >
54+ < div class ="form-row ">
55+ < div class ="form-group col-md-6 ">
56+ < label for ="city "> City</ label >
57+ < input type ="text " class ="form-control " id ="city " placeholder ="City ">
58+ </ div >
59+ < div class ="form-group col-md-4 ">
60+ < label for ="state "> State</ label >
61+ < input type ="text " class ="form-control " id ="state " placeholder ="State ">
62+ </ div >
63+ < div class ="form-group col-md-2 ">
64+ < label for ="zip "> Zip</ label >
65+ < input type ="text " class ="form-control " id ="zip " placeholder ="Zip ">
66+ </ div >
67+ </ div >
68+ < div class ="form-row ">
69+ < div class ="form-group col-md-4 ">
70+ < label for ="email "> Email</ label >
71+ < input type ="text " class ="form-control " id ="email " type ="email " placeholder ="Email " required >
72+ </ div >
73+ < div class ="form-group col-md-4 ">
74+ < label for ="phone "> Phone</ label >
75+ < input type ="text " class ="form-control " id ="phone " placeholder ="Phone " required >
76+ </ div >
77+ < div class ="form-group col-md-4 ">
78+ < label for ="validationDefault10 "> Budget</ label >
79+ < select class ="custom-select " id ="budget " required >
80+ < option value =""> Budget</ option >
81+ < option value ="Under 5000 "> Under $5,000</ option >
82+ < option value ="5000-20000 "> $5,000-$20,000</ option >
83+ < option value ="Over 20000 "> Over $20,000</ option >
84+ </ select >
85+ </ div >
86+ </ div >
87+
88+ < div class ="form-group ">
89+ < label for ="message "> Message</ label >
90+ < input type ="textarea " class ="form-control " id ="message " placeholder ="Message " rows ="5 " required >
91+ </ div >
92+
93+ < button id ="submit " class ="btn btn-primary " type ="submit "> Submit form</ button >
94+ </ form >
95+ < div id ="form-response "> </ div >
96+ </ div >
97+
98+ </ main >
99+
100+ </ body >
101+
102+ </ html >
0 commit comments