-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
165 lines (157 loc) · 7.12 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
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="apple-touch-icon" sizes="180x180" href="./apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="./favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./favicon-16x16.png">
<link rel="icon" type="image/png" sizes="192x192" href="./android-chrome-192x192.png">
<link rel="icon" type="image/png" sizes="512x512" href="./android-chrome-512x512.png">
<link rel="manifest" href="./site.webmanifest">
<title>LearnWithMe</title>
<link rel="stylesheet" href="./styles/form.css" />
<link rel="stylesheet" href="./styles/get-notified.css" />
<link rel="stylesheet" href="./styles/animations.css" />
<link rel="stylesheet" href="./styles/coming-soon.css" />
</head>
<header>
<div class="header-content">
<a href="./index.html"><img src="./images/logo.png" alt="logo" class="logo"></a>
<h1 id="learn">LearnWithMe</h1>
<nav>
<p id="about" onclick="displayComingSoon();">About</p>
<p id="contact_topman" onclick="displayComingSoon();">Contact Topman</p>
<p id="subscribe">Subscribe</p>
<button type="button" id="menu-toggle" onclick="toggleMenu();">☰</button>
<ul class="menu swing-in-top-fwd" id="menu">
<li onclick="keepBackgroundFaded(); displayComingSoon();">About</li>
<li onclick="keepBackgroundFaded(); displayComingSoon();">Contact Topman</li>
<li id="subscribe-on-mobile">Subscribe</li>
<button type="button" id="get-notified-btn_mobile" onclick="displayGetNotifiedContainer();">Get Notified</button>
</ul>
<button type="button" id="get-notified-btn" onclick="displayGetNotifiedContainer();">Get Notified</button>
</nav>
</div>
<!-- Temporary notification while I'm yet to implement all my nav buttons -->
<div class="coming-soon slide-top" id="coming-soon">
<p>Coming soon...!</p>
</div>
<h4 id="sub">Subscription Form</h4>
</header>
<body>
<form class="fade-in">
<div class="form-group">
<label for="name">Full Name:</label>
<input type="text" id="name" name="name" placeholder="Your name in full" />
</div>
<div class="form-group">
<label for="google-name">Google Name:</label>
<input type="text" id="google-name" name="google-name" placeholder="As it appears on Google meet" />
</div>
<div class="form-group">
<label for="time-zone">Time Zone:</label>
<input type="text" id="time-zone" name="time-zone" placeholder="Your distance from UTC or GMT" />
</div>
<div class="form-group">
<label for="sex">Sex:</label>
<select id="sex" name="sex" required>
<option value="">Select</option>
<option value="male">Male</option>
<option value="female">Female</option>
</select>
</div>
<div class="form-group">
<label for="marital-status">Marital Status:</label>
<select id="marital-status" name="marital-status" required>
<option value="">Select</option>
<option value="single">Single</option>
<option value="married">Married</option>
<option value="divorced">Divorced</option>
<option value="widowed">Widowed</option>
</select>
</div>
<div class="form-group">
<label for="subscription">Subscription:</label>
<select id="subscription" name="subscription" required>
<option value="">Select</option>
<option value="one-month">One month</option>
<option value="two-months">Two months</option>
<option value="three-months">Three months</option>
</select>
</div>
<div class="form-group">
<label for="course">Course:</label>
<select id="course" name="course" required>
<option value="">Select</option>
<option value="c">C</option>
<option value="flask">Flask</option>
<option value="html-css">HTML, CSS</option>
<option value="javascript">JavaScript</option>
<option value="linux">Linux basics</option>
<option value="nest-js">NestJs</option>
<option value="nodejs-express">NodeJs, Express</option>
<option value="python">Python</option>
<option value="react">React</option>
<option value="sql">SQL</option>
<option value="web-dev">Web. development</option>
<option value="others" id="others">Others</option>
</select>
</div>
<div class="form-group fade-in" id="specify-course">
<label for="specify">Kindly specify:</label>
<input type="text" id="email" name="specify" placeholder="Enter the course of interest" />
</div>
<div class="form-group">
<label for="schedule">Schedule:</label>
<select id="schedule" name="schedule" required>
<option value="">Select</option>
<option value="one-hour">1 hour daily</option>
<option value="two-hours">2 hours daily</option>
<option value="custom">Custom</option>
</select>
</div>
<div class="form-group fade-in" id="customized-schedule">
<label for="custom-schedule">Custom Schedule: </label>
<input type="text" id="custom-schedule" name="custom-schedule" placeholder="Your prefered schedule" />
</div>
<div class="form-group">
<label for="email">Email:</label>
<input type="email" id="email" name="email" placeholder="you@mail.com" required />
</div>
<div class="form-group">
<label for="phone-number">Phone Number:</label>
<input type="tel" id="phone-number" name="phone-number" placeholder="Phone no. with country code" />
</div>
<div class="form-group">
<button id="submit-form" type="submit">Submit</button>
</div>
</form>
<div class="fade-background" id="fade-background"></div>
<!-- To have interested users add their WhatsApp contact to my broadcast list -->
<div class="get-notified-container fade-in" id="get-notified-container">
<span id="cancel-btn" onclick="hideGetNotifiedContainer();">×</span>
<p id="notice">
Provide your WhatsApp contact <em>with your country code</em> to be
added to the WhatsApp broadcast list where you'll get notified about
different live learning sessions that you can participate in, free of
charge?
</p>
<span id="user-choice">
<p>Are you interested? <span class="choice" id="accept">Accept</span></p>
<p>Not interested? <span class="choice" id="decline" onclick="hideGetNotifiedContainer();">Decline</span></p>
</span>
<span id="number-input">
<p class="fade-in" id="prompt-user">
Please provide your country code and mobile number (for example +233 *** *** **)
</p>
<input type="tel" name="whatsapp-no" id="whatsapp-no" placeholder="WhatsApp no." />
<button type="submit" id="whatsapp-submit-btn">Submit</button>
</span>
</div>
<div class="footer">© Portfolio Project by Topman Paul-Dike</div>
<script type="text/javascript" src="scripts/form.js"></script>
<script type="text/javascript" src="scripts/notifications.js"></script>
<script type="text/javascript" src="scripts/get-notified.js"></script>
</body>
</html>