-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMenteeForm.html
More file actions
250 lines (216 loc) · 9.43 KB
/
Copy pathMenteeForm.html
File metadata and controls
250 lines (216 loc) · 9.43 KB
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
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="icon" href="./img/fav.ico" type="image/x-icon">
<!-- Libs CSS -->
<link rel="stylesheet" href="./style/feather.css">
<link rel="stylesheet" href="./style/flickity.min.css">
<link rel="stylesheet" href="./style/flickity-fade.css">
<link rel="stylesheet" href="./style/aos.css">
<link rel="stylesheet" href="./style/jarallax.css">
<link rel="stylesheet" href="./style/vs2015.css">
<link rel="stylesheet" href="./style/jquery.fancybox.min.css">
<link rel='icon' href='./img/krom.ico' type='image/x-icon' />
<!-- Map -->
<link href="https://api.mapbox.com/mapbox-gl-js/v0.53.0/mapbox-gl.css" rel="stylesheet">
<!-- Theme CSS -->
<link rel="stylesheet" href="./style/theme.min.css">
<link href="https://fonts.googleapis.com/css2?family=Baloo+Bhaina+2&display=swap" rel="stylesheet">
<style>
body {
font-family: 'Baloo Bhaina 2', cursive;
}
</style>
<title>Kromtech</title>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script type="text/javascript" async="" src="https://www.google-analytics.com/analytics.js"></script>
<script async="" src="https://www.googletagmanager.com/gtag/js?id=UA-156446909-2"></script>
<script>window.dataLayer = window.dataLayer || []; function gtag() { dataLayer.push(arguments); } gtag("js", new Date()); gtag("config", "UA-156446909-2");</script>
</head>
<body data-aos-easing="ease-out-quad" data-aos-duration="700" data-aos-delay="0">
<!-- CONTENT
================================================== -->
<section class="section-border border-primary">
<div class="container d-flex flex-column">
<div class="row align-items-center justify-content-center no-gutters min-vh-100">
<div class="col-8 col-md-6 col-lg-7 offset-md-1 order-md-2 mt-auto mt-md-0 pt-8 pb-4 py-md-11">
<!-- Image -->
<img src="./img/logo.jpeg" alt="..." class="img-fluid">
</div>
<div class="col-12 col-md-5 col-lg-4 order-md-1 mb-auto mb-md-0 pb-8 py-md-11">
<!-- Heading -->
<h1 class="mb-0 font-weight-bold text-center">
Sign up
</h1>
<!-- Text -->
<p class="mb-6 text-center text-muted">
Get paired in minutes. <br>
<i>This Form is just for mentees Only</i>
</p>
<!-- Form -->
<form id="kmp_form" class="mb-6" name="submit-to-google-sheet">
<!-- Email -->
<div class="form-group">
<label for="email">
Email Address
</label>
<input type="email" name="Email" class="form-control" id="email" placeholder="name@address.com">
</div>
<div class="form-group mb-5">
<label for="text">
Full Name
</label>
<input type="text" class="form-control" id="Full_name" name="Full_name"
placeholder=" Enter your Full Name">
</div>
<div class="form-group mb-5">
<p>Choose Section</p>
<div class="form-check">
<input class="form-check-input" checked type="radio" name="Mentoring" id="mentee" value="mentee" required/>
<label class="form-check-label" for="mentee">
Mentee
</label>
</div>
</div>
<div class="form-group mb-5">
<label for="number">
Whatsapp No
</label>
<input type="text" class="form-control" id="whatsapp_no" name="Whatsapp_no"
placeholder="Enter your Whatsapp No" required/>
</div>
<div class="form-group mb-5">
<p>Gender</p>
<div class="form-check">
<input class="form-check-input" type="radio" name="Gender" id="male" value="male">
<label class="form-check-label" for="gender" required/>
Male
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="Gender" id="female" value="female">
<label class="form-check-label" for="gender">
Female
</label>
</div>
</div>
<div class="form-group mb-5">
<p>Choose Faculty</p>
<div class="form-check">
<input class="form-check-input" type="radio" name="Faculty" id="Faculty" value="Art">
<label class="form-check-label" for="Faculty">
Arts
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="exampleRadios" id="Faculty" value="Education">
<label class="form-check-label" for="Faculty">
Education
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="exampleRadios" id="Faculty" value="Engineering">
<label class=" form-check-label" for="Faculty">
Engineering
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="exampleRadios" id="Faculty"
value="Environmental science">
<label class=" form-check-label" for="Faculty">
Environmental science
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="exampleRadios" id="Faculty" value="Law">
<label class="form-check-label" for="Faculty">
Law
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="exampleRadios" id="Faculty" value="Pharmacy">
<label class="form-check-label" for="Faculty">
Pharmacy
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="exampleRadios" id="Faculty" value="Science">
<label class="form-check-label" for="Faculty">
Science
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="exampleRadios" id="Faculty" value="Social Science">
<label class="form-check-label" for="Faculty">
Social Science
</label>
</div>
</div>
<div class="form-group mb-5">
<label for="department">
department
</label>
<input type="text" class="form-control" id="department" name="Department"
placeholder="Enter your department">
</div>
<div class="form-group mb-5">
<label for="cgpa">
CGPA
</label>
<input type="text" class="form-control" id="cgpa" name="CGPA" placeholder="This is optional">
</div>
<div class="form-group mb-5">
<label for="likes">
Likes
</label>
<input type="text" class="form-control" id="likes" name="Likes" placeholder="Give examples of your likes">
</div>
<div class="form-group mb-5">
<label for="dislikes">
Dislikes
</label>
<input type="text" class="form-control" id="dislikes" name="Dislikes"
placeholder="Give examples of your dislikes">
</div>
<div class="form-group mb-5">
<label for="desc">
describe the Mentor/Mentee you would prefer
</label>
<input type="text" class="form-control" id="desc" name="Description" placeholder="Your answer">
</div>
<!-- Submit -->
<button class="btn btn-block btn-primary" id="submit-form" type="submit">
Submit
</button>
</form>
</div>
</div> <!-- / .row -->
</div> <!-- / .container -->
</section>
<!-- JAVASCRIPT
================================================== -->
<script src="https://wzrd.in/standalone/formdata-polyfill"></script>
<script src="https://wzrd.in/standalone/promise-polyfill@latest"></script>
<script src="https://wzrd.in/standalone/whatwg-fetch@latest"></script>
<script src="./js/jquery.min.js"></script>
<script src="./js/bootstrap.bundle.min.js"></script>
<script src="jquery.min.js"></script>
<script src="jquery.serialize-object.min.js"></script>
<script>
const form = document.forms['submit-to-google-sheet']
// var $form = $('form#kmp_form'),
const scriptURL = 'https://script.google.com/macros/s/AKfycbyvS9mC-j7VcD9tXl4wWKjy5sA8nmE5kCoTkDHoPeFiFSOrBrV1/exec'
form.addEventListener('submit', e => {
e.preventDefault()
fetch(scriptURL, { method: 'POST', body: new FormData(form) })
.then(response => { alert('Success!', response) })
.catch(error => alert('Error!', error.message))
})
</script>
>
<!-- Theme JS -->
<script src="./assets/js/theme.min.js"></script>
</body>
</html>