-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
426 lines (348 loc) · 15 KB
/
index.html
File metadata and controls
426 lines (348 loc) · 15 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
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ActiveMe</title>
<!-- Link Swiper's CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css" />
<link rel="stylesheet" href="assets/styles/index.css">
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/@emailjs/browser@4/dist/email.min.js">
</script>
<script type="text/javascript">
(function(){
emailjs.init({
publicKey: "GAaHdj0pXtuk_GHTN",
});
})();
</script>
</head>
<body>
<header>
<div class="logo">
<img src="./assets/images/icon.png" alt="ActiveMe Logo">
</div>
<nav class="nav-list">
<div class="icon">
<span class="icon-closed">
<ion-icon name="close-outline"></ion-icon>
</span>
</div>
<a href="#home">Home</a>
<a href="#about">About Us</a>
<a href="#workout">Workouts</a>
<a href="#BMI">BMI</a>
<a href="#calories burned">Calories Burned</a>
<a href="#contact">Contact</a>
<a href="#">FAQs</a>
<button class="btnLogin-popup" id="form-open">Join Now</button>
</nav>
<div class="icon">
<span class="menuBTN" id="menu-btn">
<ion-icon name="menu-outline"></ion-icon>
</span>
</div>
</header>
<div class="main-container">
<section class="home" id="home">
<div class="wrapper">
<span class="icon-close">
<ion-icon name="close-outline"></ion-icon>
</span>
<div class="form-box login">
<h2>Login</h2>
<form id="loginForm">
<div class="input-box">
<span class="icon">
<ion-icon name="mail"></ion-icon>
</span>
<input id="usernameLogin" type="email"required>
<label for="usernameLogin">Email</label>
</div>
<div class="input-box">
<span class="icon">
<ion-icon name="lock-closed"></ion-icon>
</span>
<input id="passwordLogin" type="password"required>
<label for="passwordLogin">Password</label>
</div>
<div class="remember-forgot">
<label><input type="checkbox">Remember me</label>
<a href="#">Forgot Password?</a>
</div>
<button type="submit" class="btn-login">Login</button>
<div class="login-register">
<p> Don't have an account? <a href="#" class="register-link">SignUp</a></p>
</div>
</form>
</div>
<div class="form-box register">
<h2>SignUp</h2>
<form id="signupForm">
<div class="input-box">
<span class="icon">
<ion-icon name="person"></ion-icon>
</span>
<input id="usernameSignup" type="text"required>
<label for="usernameSignup">Username</label>
</div>
<div class="input-box">
<span class="icon">
<ion-icon name="mail"></ion-icon>
</span>
<input id="emailSignup" type="email"required>
<label for="emailSignup">Email</label>
</div>
<div class="input-box">
<span class="icon">
<ion-icon name="lock-closed"></ion-icon>
</span>
<input id="passwordSignup" type="password"required>
<label for="passwordSignup">Password</label>
</div>
<div class="remember-forgot">
<label><input type="checkbox"></label>
<a href="#">I agree to the terms & conditions.</a>
</div>
<button type="submit" class="btn-login">Sign In</button>
<div class="login-register">
<p> Already have an account? <a href="#" class="login-link">Login</a></p>
</div>
</form>
</div>
</div>
<div class="content">
<h3>Welcome to ActiveMe fitness center</h3>
<p><strong>We're your wellness wizards, equipped with tools to track your progress and empower your journey.
Calculate your BMI with ease, track those burned calories, and dive into our comprehensive FAQs for expert
advice on everything from nutrition tips to busting workout myths.</strong>
</p>
<button class="btnLogin-popup1" id="form-open1">Join Now</button>
</div>
</section>
<!--
- Section about
-->
<section class="about" id="about">
<h1 class="heading"> <span>about</span> us </h1>
<div class="row">
<div class="image-holder">
<img src="./assets/images/about.jpg" alt="about banner">
<img src="./assets/images/about1.jpg" alt="about banner">
</div>
<div class="content">
<h3>Your fitness sanctuary where sweat meets convenience and inspiration.</h3>
<p>
We're not just another fitness website—we're your ultimate workout partner,
empowering you to sculpt your dream physique from the comfort of your own home.
Picture this: you wake up, roll out of bed, and instead of braving the crowded gym or battling traffic,
you simply press play on one of our dynamic home workout videos. Whether you're aiming for a killer core,
sculpted arms, or a cardio blast, our library of diverse routines has you covered, led by expert trainers
who are as motivating as they are knowledgeable.
</p>
<p>
Beyond the pixels and pixels, we're a community of fitness enthusiasts, united by our shared passion for
living our healthiest, happiest lives. So, whether you're a beginner just dipping your toes into the fitness
waters or a seasoned pro seeking fresh inspiration, welcome home to ActiveMe. Together, let's redefine what
it means to thrive, one workout at a time.
</p>
</div>
</div>
</section>
<section class="workout" id="workout">
<h1 class="heading"> <span>workout</span> plans </h1>
<div class="search-container">
<h2 class="heading">Workout Search</h2>
<div class="input-container">
<input id="searchInput" type="text" placeholder="Enter exercise name">
<button id="searchButton">Search</button> </div>
<div class="eg">
<p> eg. Biceps, Triceps, Chest, Back, Legs, Abs</p>
</div>
<div id="result" class="result"></div>
</div>
<br> <br>
<div class="swiper mySwiper container">
<div class="workout-grid swiper-wrapper">
<div class="workout-card swiper-slide">
<div class="workout-images">
<a href="https://www.youtube.com/watch?v=ml6cT4AZdqI"><img src="./assets/images/cardio.png" alt="workout-images"></a>
</div>
<h2>Cardio Blast</h2>
<p>
A high-intensity cardio workout to boost your endurance. Get ready to sweat!
</p>
</div>
<div class="workout-card swiper-slide">
<div class="workout-images">
<a href="https://www.youtube.com/watch?v=MjPVPDBJ94A"><img src="./assets/images/strength.png" alt="workout-images"></a>
</div>
<h2>Strength Training</h2>
<p>
Build Strength and muscle with this effective strength training routine.
</p>
</div>
<div class="workout-card swiper-slide">
<div class="workout-images">
<a href="https://www.youtube.com/watch?v=8JpKOczCPHU"><img src="./assets/images/full-body.png" alt="workout-images"></a>
</div>
<h2>Full Body Workout</h2>
<p>
Build Strength and muscle with this effective strength training routine.
</p>
</div>
<div class="workout-card">
<div class="workout-images">
<a href="https://www.youtube.com/watch?v=95846CBGU0M"><img src="./assets/images/muscle.png" alt="workout-images"></a>
</div>
<h2>Muscle Building</h2>
<p>
Build Strength and muscle with this effective strength training routine.
</p>
</div>
<div class="workout-card">
<div class="workout-images">
<a href="https://www.youtube.com/watch?v=95846CBGU0M"><img src="./assets/images/muscle.png" alt="workout-images"></a>
</div>
<h2>Muscle Building</h2>
<p>
Build Strength and muscle with this effective strength training routine.
</p>
</div>
<div class="workout-card">
<div class="workout-images">
<a href="https://www.youtube.com/watch?v=95846CBGU0M"><img src="./assets/images/muscle.png" alt="workout-images"></a>
</div>
<h2>Muscle Building</h2>
<p>
Build Strength and muscle with this effective strength training routine.
</p>
</div>
</div>
<div class="swiper-button-next"></div>
<div class="swiper-button-prev"></div>
<div class="swiper-scrollbar"></div>
<div class="swiper-pagination"></div>
</div>
</section>
<!-- Section BMI -->
<section>
<div class="BMI" id="BMI">
<div class="container">
<div class="image-holder">
<img src="./assets/images/bmi.jpg" alt="BMI banner">
</div>
<div class="box">
<h1>BMI Calculator</h1>
<div class="content">
<div class="input">
<label for="height">Age</label>
<input type="text" class="text-input" id="age" autocomplete="off" required/>
</div>
<div class="gender">
<label class="container">
<input type="radio" name="radio" id="m"><p class="text">Male</p>
<span class="checkmark"></span>
</label>
<label class="container">
<input type="radio" name="radio" id="f" ><p class="text">Female</p>
<span class="checkmark"></span>
</label>
</div>
<div class="containerHW">
<div class="inputH">
<label for="height">Height(cm)</label>
<input type="number" id="height" required>
</div>
<div class="inputW">
<label for="weight">Weight(kg)</label>
<input type="number" id="weight" required>
</div>
</div>
<button class="calculate" id="submit" onclick="calculate();">Calculate BMI</button>
</div>
<div class="result">
<p>Your BMI is</p>
<div id="bmi-result">00.00</div>
<p class="comment"></p>
</div>
</div>
</div>
<!-- The Modal -->
<div id="myModal" class="modal">
<!-- Modal content -->
<div class="modal-content">
<span class="close">×</span>
<p id="modalText"></p>
</div>
</div>
</section>
<!-- Section Calories Burned -->
<section>
<div class="calories" id="calories burned">
<div class="container">
<div class="image-holder">
<img src="./assets/images/calories.jpg" alt="calories banner">
</div>
<div class="cal-burner">
<h1 class="heading"> Calories Burned Calculator</h1>
<form action="#">
<div class="input-box">
<input type="number" id="cal_weight" required>
<label>Enter your weight</label>
</div>
<div class="input-box">
<input type="number" id="duration" required>
<label>Enter workout duration</label>
</div>
<button type="submit" onclick="calculateCalories()" class="btn-login">Calculate Calories Burned</button>
</form>
</div>
<div id="calResult"></div>
</div>
</div>
</section>
<!-- Section contact -->
<section>
<div class="contact" id="contact">
<div class="container">
<div class="contact-us">
<h1 class="heading">Contact Us</h1>
<table class="table">
<tr>
<td><input type="text" id="name" class="form-control" placeholder="NAME"/></td>
<td><input type="email" id="email" class="form-control" placeholder="EMAIL"/></td>
</tr>
<tr>
<td colspan="2"></td>
</tr>
<tr>
<td><input type="number" id="phone_number" class="form-control" placeholder="PHONE NUMBER"/></td>
<td><input type="text" id="address" class="form-control" placeholder="ADDRESS"/></td>
</tr>
<tr>
<td colspan="2"></td>
</tr>
<td colspan="2">
<textarea id="form-MSG" placeholder="Type your message..."></textarea>
</td>
<tr>
<td colspan="2" class="text-center"><button onclick="sendMail()" type="submit" class="btn-login">SEND</button></td>
</tr>
</table>
</div>
<div class="image-holder">
<img src="./assets/images/welcome.png" alt="contact banner">
</div>
</div>
</div>
</section>
</div>
<script src="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.js"></script>
<!--custom js link -->
<script src="scripts/index.js"></script>
<script type="module" src="https://unpkg.com/ionicons@7.1.0/dist/ionicons/ionicons.esm.js"></script>
<script nomodule src="https://unpkg.com/ionicons@7.1.0/dist/ionicons/ionicons.js"> </script>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"> </script>
</body>
</html>