-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
101 lines (98 loc) · 3.32 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My Store</title>
<link rel="stylesheet" href="https://images-ng.pixai.art/images/orig/eab36f55-0068-4a4a-a3ca-dd225fd92ebe" type="image/png">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<link rel="stylesheet" href="styles.css">
<script
src="https://code.jquery.com/jquery-3.4.1.js"
integrity="sha256-WpOohJOqMqqyKL9FccASB9O0KwACQJpFTUBLTYOVvVU="
crossorigin="anonymous"></script>
<script>
function SubForm (){
$.ajax({
url: "https://api.apispreadsheets.com/data/0pg6V1sJyPTeXo0O/",
type: "post",
data: JSON.stringify($("#myForm").serializeArray().reduce(function(obj, item) {
obj[item.name] = item.value;
return obj;
}, {})),
contentType: "application/json",
success: function(){
alert("Form Data Submitted :)");
},
error: function(){
alert("There was an error :(");
}
});
}
</script>
</head>
<body>
<div class="title">
37% off Inauguration Offer
</div>
<div class="sepration"></div>
<div class="formwrap">
<table border="2">
<tr>
<td> <marquee loop="1" direction="left" behavior="" class="stop">Our Lovely Store Opening In June</marquee> </td>
<td class="hidden"><div class="opening">Opening Soon...</div></td>
</tr>
<tr>
<td class="formtable">
<div class="waitlist">WaitList</div>
<form class="form" id="myForm">
<div class="innerform">
<label for="name">Name: </label>
<input type="text" id="name" name="Name" required />
</div>
<div class="innerform">
<label for="email">Email: </label>
<input type="email" id="email" name="Email" required />
</div>
<div class="innerform">
<label for="phone">Phone: </label>
<input type="tel" id="phone" name="Phone" required />
</div>
<div class="innerform">
<label for="found">How You Found Us:</label>
<select name="Found" id="found" required>
<option value="discord">Discord</option>
<option value="instagram">Instagram</option>
<option value="store">Offline Store</option>
<option value="other">Other</option>
</select>
</div>
<button type="button" class="btn btn-dark" onclick="SubForm()">Submit</button>
</form>
<div class="freehoddie">Free hoodie to one lucky visitor</div>
</td>
<td>
<div class="image">
<img src="https://pbs.twimg.com/media/EED5WBpX4AoWkRa?format=jpg&name=900x900" alt="shooku maid outfit" id="formleft" class="hidden">
</div>
</td>
</tr>
</table>
</div>
<div class="sepration"></div>
<div class="extro">
Thanks For Visiting Our Store
</div>
<div class="sepration"></div>
<footer class="footer">
<div class="footer-content">
<div class="company-info">
<p>© 2024 Shouko Shop</p>
</div>
<div class="contact-info">
<p>Contact us: <a href="mailto:[email protected]">[email protected]</a></p>
</div>
</div>
</footer>
</body>
</html>