-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpremium.html
835 lines (690 loc) · 22.9 KB
/
premium.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
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
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Free Calories Counter - Myfitnesspal</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Roboto&display=swap" rel="stylesheet">
<link rel="stylesheet preload" href="https://web-assets.myfitnesspal.com/fonts/neue-plak-ua.css" as="style">
<style>
* {
font-family: 'Bebas Neue', cursive;
padding: 0%;
margin: 0%;
scroll-behavior: smooth;
}
html{
scroll-behavior: smooth;
}
body{
scroll-behavior: smooth;
}
main {
display: flex;
justify-content: space-around;
align-items: center;
}
button {
cursor: pointer;
}
#div2 {
margin-top: -50px;
}
#div2 h1 {
font-weight: 900;
font-size: 52px;
color: rgb(33, 33, 33);
width: 300px;
letter-spacing: .9px;
text-transform: capitalize;
}
#div2 p {
font-size: 20px;
width: 290px;
color: rgb(108, 108, 135);
font-family: 'Roboto', sans-serif;
}
#div3 {
background-image: url(https://www.myfitnesspal.com/_next/image?url=%2F_next%2Fstatic%2Fmedia%2Fhealthy-foods-desktop.448e755c.png&w=750&q=75);
background-size: cover;
}
#div3 img {
width: 400px;
margin-top: 40px;
margin-right: 150px;
}
#div2 {
display: flex;
flex-direction: column;
gap: 20px;
}
#div2>button:nth-child(1) {
padding: 5px;
width: 70px;
font-size: 18px;
border: none;
border-radius: 8px;
background-color: rgb(253, 218, 28);
color: black;
}
.trial {
width: 340px;
height: 52px;
font-size: 21px;
border: none;
background-color: rgb(0, 102, 238);
color: white;
}
#card {
display: flex;
justify-content: space-evenly;
text-align: center;
margin-bottom: 70px;
margin-top: 40px;
}
#card div h2 {
letter-spacing: 0.9px;
}
p {
font-family: 'Roboto', sans-serif;
}
#card div p {
font-family: 'Roboto', sans-serif;
}
#goals,
#anothergoals {
display: flex;
width: 100%;
justify-content: space-between;
margin-bottom: 50px;
padding-bottom: 60px;
}
#goals>div:nth-child(2),
#anothergoals>div:nth-child(2) {
text-align: center;
}
#goals h2,
#anothergoals h2 {
font-size: 40px;
letter-spacing: 1px;
}
#anothergoals img{
height: 500px;
}
#pricing {
display: flex;
flex-direction: column;
width: 1000px;
margin: auto;
justify-self: center;
background-color: antiquewhite;
position: absolute;
top: 1050px;
margin-left: 250px;
z-index: 2;
-webkit-box-shadow: 0 0 10px 1px rgb(41, 41, 20);
-moz-box-shadow: 0 0 10px 1px rgb(41, 41, 20);
box-shadow: 0 0 20px 1px rgb(41, 41, 20);
}
.pr_cards {
display: grid;
gap: 20px;
align-items: center;
grid-template-columns: 600px 200px 200px;
padding: 20px;
background-color: white;
}
.pr_cards:nth-child(1){
margin-top: 0%;
}
.bgcolor{
background-color: rgb(246,246,248);
}
.pr_cards h3{
font-weight: bold;
font-family: 'Roboto', sans-serif;
/* letter-spacing: 0.6px; */
margin-bottom: 10px;
color: rgb(33,33,62);
}
.pr_cards p{
color: rgb(121,115,112);
}
#stickyfooter{
width: 100%;
position: fixed;
bottom: 0px;
display: flex;
justify-content: center;
background-color: white;
height: 75px;
z-index:12000;
padding: 20px;
align-items: center;
text-align: center;
box-shadow: 5px 5px 5px 5px black;
display: none;
}
#stories{
text-align: center;
}
#stories_card img{
width: 350px;
}
#stories_card{
display: flex;
justify-content: center;
margin-top: 40px;
gap: 40px;
margin-bottom: 60px;
background-image: url(./photos/bg.png);
background-repeat: no-repeat;
background-position: right;
}
#stories_card p{
margin-top: 10px;
width: 350px;
}
#stories>h1{
letter-spacing: 1px;
font-size: 36px;
}
#stories h3{
letter-spacing: 1.5px;
font-size: 25px;
}
#stories_card>div{
padding-bottom: 40px;
border: 0.8px solid rgb(58, 58, 58);
border-radius: 8px;
width: 350px;
overflow: hidden;
-webkit-box-shadow: 0 0 5px 2px whitesmoke;
-moz-box-shadow: 0 0 5px 2px whitesmoke;
box-shadow: 0 0 5px 2px whitesmoke;
}
.premium_btn{
margin-top: auto;
padding: 5px;
width: 70px;
font-size: 18px;
border: none;
border-radius: 8px;
background-color: rgb(253, 218, 28);
color: black;
display: flex;
text-align: center;
justify-self: center;
}
#heading{
display: flex;
justify-content: center;
flex-direction: column;
margin-bottom: 40px;
}
#heading button{
margin: auto;
display: block;
width: 180px;
font-size: 20px;
margin-bottom: 20px;
}
#heading h2{
margin: auto;
font-size: 46px;
letter-spacing: 1.2px;
margin-bottom: 40px;
}
#heading p{
margin: auto;
width: 600px;
line-height: 21px;
text-align: center;
margin-top: -10px;
}
#faq{
display: flex;
flex-direction: column;
justify-items: center;
margin-bottom: 70px;
}
.faq_card{
width:800px ;
text-align: center;
margin: auto;
margin-top: 10px;
margin-bottom
: 10px;
height: 90px;
scroll-behavior: smooth;
overflow: hidden;
}
.faq_card>div{
padding:25px;
-webkit-box-shadow: 0 0 5px 2px rgb(246,246,248);
-moz-box-shadow: 0 0 5px 2px rgb(246,246,248);
box-shadow: 0 0 5px 2px rgb(246,246,248);
border: 1px solid rgb(246,246,248);
}
.faq_card>div:nth-child(1){
background-color: rgb(246,246,248);
border-top-left-radius: 5px;
border-top-right-radius: 5px;
}
.faq_card h3{
letter-spacing: 1px;
font-weight: 400;
/* font-family: 'Roboto', sans-serif; */
}
.faq_card p{
line-height: 22px;
}
#subscribe{
display: flex;
/* gap: 20px; */
justify-items: center;
align-items: center;
margin-bottom: 50px;
}
#subscribe>div{
text-align: center;
width: 400px;
border: 2px solid red;
display: flex;
flex-direction: column;
gap: 20px;
margin: auto;
justify-content: center;
border: 5px solid rgb(253, 218, 28);
border-top: 40px solid rgb(253,218,28);
}
#subscribe h2{
position: relative;
top: -35px;
}
#subscribe h3{
font-size: 30px;
font-weight: 400;
}
#subscribe h1{
font-size: 40px;
}
#subscribe p{
width: 200px;
margin: auto;
text-align: center;
}
#subscribe>div:nth-child(1) button{
text-align: center;
margin: auto;
background-color: rgb(0,102,238);
color: white;
height: 45px;
border: none;
width: 80%;
border-radius: 8px;
font-size: 22px;
margin-bottom: 40px;
}
#subscribe>div:nth-child(1){
margin-right: 50px;
}
#subscribe>div:nth-child(2){
border: none;
-webkit-box-shadow: 0 0 5px 2px rgb(246,246,248);
-moz-box-shadow: 0 0 5px 2px rgb(246,246,248);
box-shadow: 0 0 5px 2px rgb(246,246,248);
border: 1px solid rgb(246,246,248);
margin-left:0px;
}
#subscribe>div:nth-child(2) button{
text-align: center;
margin: auto;
height: 45px;
border: none;
width: 80%;
border-radius: 8px;
font-size: 22px;
margin-bottom: 40px;
background-color: transparent;
border: 2px solid rgb(0,102,238);
color: rgb(0,102,238);
}
#subscribe span{
font-size: 17px;
font-weight: 400;
}
#main_container *{
font-family: "Neue Plak UA",Helvetica,Arial,-apple-system,sans-serif;
font-size: 13px;
}
</style>
<link rel="stylesheet" href="nav.css">
</head>
<body>
<div id="random">
<div id="main_container">
<div id="container">
<div id="logo">
<h1 id="logoo"><img src="https://www.myfitnesspal.com/assets/logo.svg" alt=""></h1>
<div>
<p>Login</p>
<p>Signup</p>
</div>
</div>
<!-- nav bar -->
<div class="nav">
<div>
<h3 onclick=window.location.href="./about.html">ABOUT</h3>
<h3 onclick=window.location.href="./food.html">FOOD</h3>
<h3 onclick=window.location.href="./exercise.html">EXERCISE</h3>
<h3 onclick=window.location.href="./apps.html">APPS</h3>
<h3 onclick=window.location.href="./login.html">COMMUNITY</h3>
<h3 onclick=window.location.href="./Blog.html">BLOG</h3>
<h3 onclick=window.location.href="./premium.html">PREMIUM</h3>
</div>
</div>
</div>
</div>
<main>
<div id="div1">
<img src="./photos/bg.png" alt="">
</div>
<div id="div2">
<button >Premium</button>
<h1>Start Your Free
Trial Today</h1>
<p>Premium members are 65% more likely to reach their weight loss goal.
</p>
<button class="trial">START FREE 1-MONTH TRIAL</button>
</div>
<div id="div3">
<img src="https://www.myfitnesspal.com/_next/image?url=%2F_next%2Fstatic%2Fmedia%2Fpremium-features.8bbea7a1.png&w=1920&q=75"
alt="">
</div>
</main>
<div id="card">
<div><img
src="https://www.myfitnesspal.com/_next/image?url=%2F_next%2Fstatic%2Fmedia%2Fmeal-plans-circle.5b29584a.png&w=256&q=75"
alt="">
<h2>Meal Plans & Recipes
</h2>
<p>Gain insight into your nutrition
</p>
</div>
<div><img
src="https://www.myfitnesspal.com/_next/image?url=%2F_next%2Fstatic%2Fmedia%2Fpersonalized-goals-circle.7659525c.png&w=256&q=75"
alt="">
<h2>Personalized Goals
</h2>
<p>Get guidance & coaching tailored to you
</p>
</div>
<div><img
src="https://www.myfitnesspal.com/_next/image?url=%2F_next%2Fstatic%2Fmedia%2Fad-free-circle.3fa88ffe.png&w=256&q=75"
alt="">
<h2>Ad-Free Experience
</h2>
<p>Focus on your goals without distraction
</p>
</div>
</div>
<div id="goals">
<img src="https://www.myfitnesspal.com/_next/image?url=%2F_next%2Fstatic%2Fmedia%2Fimg-woman.535f0b88.png&w=384&q=75"
alt="">
<div>
<h2>Your Goals, Your Way
</h2>
<p>Advanced tools and in-depth analysis to help you build lifelong healthy habits.
</p>
</div>
<img src="./photos/bg.png" alt="">
</div>
<div id="anothergoals">
<img src="./photos/bg.png" alt="">
<div>
</div>
<img src="https://www.myfitnesspal.com/_next/image?url=%2F_next%2Fstatic%2Fmedia%2Fimg-man.e01e1156.png&w=640&q=75"
alt="">
</div>
<div id="pricing">
<div class="pr_cards">
<div></div>
<h3>Free</h3>
<h3>Premium</h3>
</div>
<div class="pr_cards">
<div>
<h3>Nutrition Tracking
</h3>
<p>Log your food from our extensive database.
</p>
</div>
<div>
<img src="https://www.myfitnesspal.com/_next/static/media/check-mark.a58300ae.svg" alt="">
</div>
<div>
<img src="https://www.myfitnesspal.com/_next/static/media/check-mark.a58300ae.svg" alt="">
</div>
</div>
<div class="pr_cards bgcolor">
<div>
<h3>Nutrition Tracking
</h3>
<p>Log your food from our extensive database.
</p>
</div>
<div>
</div>
<div>
<img src="https://www.myfitnesspal.com/_next/static/media/check-mark.a58300ae.svg" alt="">
</div>
</div>
<div class="pr_cards">
<div>
<h3>Customizable Carbs, Protein & Fat Goals
</h3>
<p>Track your macros by gram or percentage.
</p>
</div>
<div>
</div>
<div>
<img src="https://www.myfitnesspal.com/_next/static/media/check-mark.a58300ae.svg" alt="">
</div>
</div>
<div class="pr_cards bgcolor">
<div>
<h3>Guided Fitness & Nutrition Plans
</h3>
<p>Get coaching and content to achieve your goals.
</p>
</div>
<div>
</div>
<div>
<img src="https://www.myfitnesspal.com/_next/static/media/check-mark.a58300ae.svg" alt="">
</div>
</div>
<div class="pr_cards">
<div>
<h3>Custom Home Screen Dashboard
</h3>
<p>Reach goals faster by seeing what’s important to you.
</p>
</div>
<div>
</div>
<div>
<img src="https://www.myfitnesspal.com/_next/static/media/check-mark.a58300ae.svg" alt="">
</div>
</div>
<div class="pr_cards bgcolor">
<div>
<h3>Food Analysis & Insights
</h3>
<p>Follow your progress through your data.
</p>
</div>
<div>
</div>
<div>
<img src="https://www.myfitnesspal.com/_next/static/media/check-mark.a58300ae.svg" alt="">
</div>
</div>
<div class="pr_cards">
<div>
<h3>Meals & Recipes
</h3>
<p>Learn how to eat with your goals in mind.
</p>
</div>
<div>
</div>
<div>
<img src="https://www.myfitnesspal.com/_next/static/media/check-mark.a58300ae.svg" alt="">
</div>
</div>
<div class="pr_cards bgcolor">
<div>
<h3>Ad-Free Experience
</h3>
<p>Focus on your fitness and nutrition without ads.
</p>
</div>
<div>
</div>
<div>
<img src="https://www.myfitnesspal.com/_next/static/media/check-mark.a58300ae.svg" alt="">
</div>
</div>
<div class="pr_cards">
<div>
<h3>Subtract Exercise Calories
</h3>
<p>Focus on your fitness and nutrition without ads.
</p>
</div>
<div>
</div>
<div>
<img src="https://www.myfitnesspal.com/_next/static/media/check-mark.a58300ae.svg" alt="">
</div>
</div>
<div class="pr_cards bgcolor">
<div>
<h3>Ad-Free Experience
</h3>
<p>Focus on your fitness and nutrition without ads.
</p>
</div>
<div>
</div>
<div>
<img src="https://www.myfitnesspal.com/_next/static/media/check-mark.a58300ae.svg" alt="">
</div>
</div>
</div>
</div>
<div id="stickyfooter">
<button class="trial">START FREE 1-MONTH TRIAL</button>
</div>
<div id="stories">
<h1>Victory Stories
</h1>
<p>Your victories are our victories and we want to share them with the world.
</p>
<div id="stories_card">
<div><img src="https://www.myfitnesspal.com/_next/image?url=%2F_next%2Fstatic%2Fmedia%2FVictoryStoryNaQuisha.0d4dd49e.jpeg&w=1920&q=75" alt="">
<h3>Na'Quisha
</h3>
<p>"It's truly changed my life and it allowed me to get some direction in my weight loss journey."
</p></div>
<div><img src="https://www.myfitnesspal.com/_next/image?url=%2F_next%2Fstatic%2Fmedia%2FVictoryStoryEric.0eb618cf.jpeg&w=1920&q=75" alt="">
<h3>Eric
</h3>
<p>"Once I lost 10 pounds, then another 10 pounds, it blew me away."
</p></div>
<div><img src="https://www.myfitnesspal.com/_next/image?url=%2F_next%2Fstatic%2Fmedia%2FVictoryStoryMolly.2e74f853.jpeg&w=1920&q=75" alt="">
<h3>Molly
</h3>
<p>"I love the app because it allows for balance."
</p></div>
</div>
</div>
<div id="heading"><button class="premium_btn">Premium</button>
<h2>Frequently Asked Questions
</h2></div>
<div id="faq">
<div class="faq_card">
<div><h3>When will I get charged</h3></div>
<div><p>If you’ve never upgraded to Premium or never started a Premium trial before, you are eligible for a 1-month trial, and the first Premium subscription charge on your credit card will be after the trial. Once the trial ends, your subscription will auto-renew unless you cancel. If you purchased a monthly subscription, you will get charged every month. If you purchased an annual subscription, you will be charged every year.
</p></div>
</div>
<div class="faq_card">
<div><h3>Will my subscription automatically renew?</h3></div>
<div><p>MyFitnessPal Premium features are available on a monthly or yearly subscription basis, depending on which one you purchase. By default, your subscription will renew automatically when your membership period is up—unless you manually cancel your subscription.
</p></div>
</div>
<div class="faq_card">
<div><h3>Can I cancel anytime?</h3></div>
<div><p>Yes, you may cancel your recurring subscription at any time. Cancel at least 24 hours before the next renewal date to avoid being charged for the upcoming billing cycle. When you cancel, you are canceling the next billing charge—Premium features will remain available to you until the end of your current paid subscription period, regardless of when you cancel the automatic renewal.
</p></div>
</div>
<div class="faq_card">
<div><h3>What do i need to upgrade?</h3></div>
<div><p>Just tap one of the buttons below to start a monthly or annual subscription. A Premium subscription adds more extensive options to MyFitnessPal's feature set, increasing customizability and flexibility. Your MyFitnessPal account will stay just as you've built it—friends, favorite foods, diary history—with many new and enhanced features added once you go Premium.
</p></div>
</div>
</div>
<div id="heading"><button class="premium_btn">1 month Free</button>
<h2>Go Premium, Get Results
</h2><p>Choose a MyFitnessPal Premium plan to start your 1-month free trial. You will be charged after the trial has ended—cancel anytime.
</p></div>
<div id="subscribe">
<div><h2>SAVE 58%
</h2>
<h3>ANNUAL</h3>
<h1>₹3,100.00 <span>Per Year</span></h1> <p>₹3,100.00 billed yearly after free trial ends.
</p> <button>SUBSCRIBE</button></div>
<div style="padding-top: 15px;">
<h3>MONTHLY
</h3>
<h1>₹620.00 <span>Per Month</span></h1> <p>₹620.00 billed monthly after free trial ends.
</p> <button>SUBSCRIBE</button></div>
</div>
</body>
<script>
let sticky=document.getElementById("stickyfooter")
let pricing=document.getElementById("pricing");
let goals=document.getElementById("goals")
goals.addEventListener("mouseenter",()=>{
sticky.style.display="none"
})
pricing.addEventListener("mouseenter",function(){
sticky.style.display="block"
sticky.style.transition="all 5s ease-in;"
})
// setTimeout(function(){
// },5000)
let faq=document.querySelectorAll(".faq_card")
faq.forEach(function(e){
e.addEventListener("click",function(){
faqclick(e.clientHeight,e)})
})
function faqclick(showit,el){
if(showit!=90){
el.style.height="90px"
el.style.transition="height 2s"
}else{
el.style.height="auto"
}
}
document.querySelector("#logo h1").addEventListener("click",function(){
window.location.href="./index.html"
})
</script>
</html>