-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontactForm.html
194 lines (193 loc) · 5.69 KB
/
contactForm.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico" />
<link rel="stylesheet" href="css/contactForm.css" />
<link rel="stylesheet" href="css/styles.css" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"
/>
<link
rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css"
/>
<script defer src="js/contactForm.js"></script>
<script
src="https://code.jquery.com/jquery-3.2.1.slim.min.js"
integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
crossorigin="anonymous"
></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"
integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
crossorigin="anonymous"
></script>
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"
integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
crossorigin="anonymous"
></script>
<title>Todd Graham - Contact Me</title>
</head>
<nav
class="navbar navbar-expand-lg navbar-dark bg-dark border-bottom"
id="custom-navbar"
>
<a class="navbar-brand" id="navbar-link" href="index.html">Todd Graham</a>
<button
class="navbar-toggler"
type="button"
data-toggle="collapse"
data-target="#nav-items"
aria-controls="#nav-items"
aria-expanded="false"
aria-label="Toggle navigation"
>
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="nav-items">
<ul class="navbar-nav ml-auto mt-2 mt-lg-0">
<li class="nav-item">
<a class="nav-link" id="navbar-link" href="resume.html">Resume</a>
</li>
<li class="nav-item">
<a class="nav-link" id="navbar-link" href="projects.html">Projects</a>
</li>
<li class="nav-item">
<a class="nav-link" id="navbar-link-active" href="contactForm.html"
>Contact</a
>
</li>
</ul>
</div>
</nav>
<body id="background">
<br />
<main>
<form action="openModal()" class="form bg-white" id="contactForm">
<h1>Contact Me</h1>
<hr />
<div>
<label for="name" class="form-element">Name:</label>
<input
type="text"
name="name"
id="name"
placeholder="John Doe"
class="user-input"
required
/>
</div>
<br />
<div>
<label for="email" class="form-element">Email:</label>
<input
type="email"
name="email"
id="email"
placeholder="[email protected]"
class="user-input"
required
/>
</div>
<br />
<div>
<label for="message-body" class="form-element">Message Body:</label>
<textarea
class="form-control message"
id="message-body"
placeholder="Say hi!"
rows="3"
required
></textarea>
</div>
<br />
<div>
<input
type="submit"
value="Submit"
class="btn btn-primary"
id="btn"
/>
<input
type="reset"
value="Reset"
class="btn btn-secondary"
id="btn"
/>
</div>
<div
class="modal fade"
id="contactModal"
role="dialog"
aria-hidden="true"
>
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title">Your message has been sent!</h4>
<button
type="button"
class="close"
data-dismiss="modal"
aria-label="Close"
>
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
I'll get back to you as soon as I can. I look forward to
connecting with you!
</div>
<div class="modal-footer">
<button
type="button"
class="btn btn-primary"
data-dismiss="modal"
aria-label="Close"
>
Close
</button>
</div>
</div>
</div>
</div>
</form>
</main>
</body>
<footer>
<div class="container text-center">
<div class="py-1">
<h1 class="footer-title">
<i class="fa fa-copyright"></i> 2021 Todd Graham
</h1>
<div class="footer-nav">
<ul class="nav justify-content-center">
<li class="nav-item">
<a
class="nav-link"
href="mailto: [email protected]"
title="email"
><i class="fa fa-envelope"></i
></a>
</li>
<li class="nav-item">
<a
class="nav-link"
href="https://github.com/toddgraham121"
title="github"
><i class="fa fa-github"></i
></a>
</li>
</ul>
</div>
</div>
</div>
</footer>
</html>