-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
55 lines (41 loc) · 1.65 KB
/
index.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
<!doctype html>
<html lang="en">
<head>
<title>Contact Form</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="container">
<div id="form">
<h2>Contact Us!</h2>
<p> We would love to hear from you!</p>
<p>Please use the Contact Form to send us a message.</p>
<!-- The url of the script you use -->
<form id="gform" method="POST" action="https://script.google.com/macros/s/AKfycbx53O1TvQh8qM8MCWMtmXAJalALLoQf5mZc64f__ostC-xF95F2/exec">
<!-- Add the inputs in here -->
<label for="name">Name: </label>
<input id="name" name="name" placeholder="What ya mamma calls you" />
<label for="message">Message: </label>
<textarea id="message" name="message" rows="10" placeholder="Idk.."></textarea>
<label for="animal">Favourite Animal: </label>
<input id="animal" name="animal" placeholder="dog" />
<label for="email">Email Address:</label>
<input id="email" name="email" type="email" value="" required placeholder="email"/>
<label for="color">Favourite Color: </label>
<input id="color" name="color" placeholder="green" />
<button>Submit the form yo</button>
</form>
</div>
<!-- Thank you section -->
<div id="thankyou">
<h2>Shot for contacting us bro. We will get back to ya soon!</h2>
<button id='back-button'>Take me back baby</button>
</div>
</div>
</body>
<!-- Script to the db logic -->
<script data-cfasync="false" type="text/javascript" src="ajax.js"></script>
<!-- Font -->
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
</body>
</html>