-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
265 lines (227 loc) · 9.72 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
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
<html>
<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>Document</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"
href="https://cdn.jsdelivr.net/npm/swiper@8/swiper-bundle.min.css"/>
<script src="https://kit.fontawesome.com/b99e675b6e.js"></script>
<link rel="stylesheet" href="./index.css">
<style>
.nav *{
font-family: "Neue Plak UA",Helvetica,Arial,-apple-system,sans-serif;
font-size: 13px;
}
*{
font-family: "Neue Plak UA",Helvetica,Arial,-apple-system,sans-serif;
}
#logo p{
cursor: pointer;
}
.nav h3{
cursor: pointer;
}
</style>
</head>
<body>
<div id="main_container">
<div id="container">
<div id="logo">
<h1 id="logoo"onclick=window.location.href="./index.html"><img src="https://www.myfitnesspal.com/assets/logo.svg" alt=""></h1>
<div>
<p onclick=window.location.href="./login.html">Login</p>
<p onclick=window.location.href="./signup.html">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 class="food">
<h1 class="food_h">Fitness starts with what you eat.</h1>
<p class="food_p">Take control of your goals. Track calories, break down ingredients, and log activities with MyFitnessPal.</p>
<button class="btn" onclick=window.location.href="./signup.html">START FOR FREE</button>
<P>Already have an account? <a style="color: #0066EE;" onclick=window.location.href="./login.html">Login<a/>
</P>
</div>
</div>
</div>
<div id="sec-Container">
<div class="hcon">
<div>
<h1>Search over 11 million foods in our database.</h1>
<p>What's in your food? Learn about calorie count, nutrition information and serving size.</p>
</div>
</div>
<!-- <div class="con"> -->
<div class="search">
<div class="search_box">
<input type="text" class="input" placeholder="Get the nutrition for any food,like an apple">
<!-- <div class="btn1 btn_common"> -->
<i id="icn" class="fas fa-search" onclick="inputt()"></i>
<!-- </div> -->
</div>
<!-- </div> -->
</div>
</div>
<!-- tools -->
<div class="tool">
<h1 class="tool-h1">The Tools for Your Goals</h1>
<p>Trying to lose weight, tone up, lower your BMI, or invest in your overall health?</p>
<p> We give you the right features to hit your goals.</p>
<div>
<div>
<img src="https://www.myfitnesspal.com/_next/static/media/diary.e6e4c438.svg" alt="">
<h3>Learn. Track. Improve.</h3>
<p>Keeping a food diary helps you understand your habits and increases your likelihood of hitting your goals.</p>
</div>
<div>
<img src="https://www.myfitnesspal.com/_next/static/media/barcode.18277ae4.svg" alt="">
<h3>Logging Simplified</h3>
<p>Scan barcodes, save meals and recipes, and use Quick Tools for fast and easy food tracking.</p>
</div>
<div>
<img src="https://www.myfitnesspal.com/_next/static/media/shoeblue.28e2684f.svg" alt="">
<h3>Stay Motivated</h3>
<p> Join the World’s Largest Fitness Community for advice, tips, and support 24/7.</p>
</div>
</div>
<button class="btn" onclick=window.location.href="./signup.html">START YOUR JOURNEY TODAY</button>
</div>
<!-- slider bar -->
<div class="bar">
<h1 style="font-size: 40px;">Victory Stories</h1>
<p style="margin-top: 10px;font-size: 18px;">When you reach your goals, our whole community celebrates with you. That’s over 200 million members sharing in your victory—using it to inspire their own journey.</p></div>
<div class="pi">
<div class="slidebar">
<!-- Slider main container -->
<div class="swiper">
<!-- Additional required wrapper -->
<div class="swiper-wrapper">
<!-- Slides -->
<div class="swiper-slide">
<div class="sli-img">
<div class="img-div">
<img src="https://www.myfitnesspal.com/_next/image?url=%2Fpages%2Fhome%2Fvictory-story-3.jpg&w=1920&q=75" alt="">
<div class="moti">
<h1>She was eager to make a change</h1>
<h3>Now when i have friends starting run and getting frustrated, i tell them to just stick with it,eventually,you'll get faster </h3>
<p> -Lori</p>
</div>
</div>
</div>
</div>
<div class="swiper-slide">
<div class="sli-img">
<div class="img-div">
<img src="https://www.myfitnesspal.com/_next/image?url=%2Fpages%2Fhome%2Fvictory-story-1.jpg&w=1920&q=75" alt="">
<div class="moti">
<h1>Education helped her lose 30 pounds.</h1>
<h3>MyFitnessPal gave me wake up call to the way i was eating and made things clear what i needed to change.</h3>
<p> -Stepanie</p>
</div>
</div>
</div>
</div>
<div class="swiper-slide">
<div class="sli-img">
<div class="img-div">
<img src="https://www.myfitnesspal.com/_next/image?url=%2Fpages%2Fhome%2Fvictory-story-2.jpg&w=1920&q=75" alt="">
<div class="moti">
<h1>From fast-food addict to mindful eater.</h1>
<h3>I naturally feel into the concept of mindful eating...it takes 1520 minutes for the food to hit your stomach,so i stated eating slower.</h3>
<p> -Eric</p>
</div>
</div>
</div>
</div>
</div>
<!-- If we need pagination -->
<div class="swiper-pagination"></div>
<!-- If we need navigation buttons -->
<div class="swiper-button-prev"></div>
<div class="swiper-button-next"></div>
</div>
</div >
</div>
<!-- recipi -->
<div class="recipes_con">
<div>
<div>
<h1>Recipes & Inspiration</h1>
<p>Get nutritionist-approved recipes and motivational workout tips from MyFitnessPal experts.</p>
</div>
<div class="img-rec">
<div onclick=window.location.href="./blog.html">
<img src="https://www.myfitnesspal.com/_next/image?url=%2F_next%2Fstatic%2Fmedia%2Fbreakfast-300-calories.d991cc82.png&w=1920&q=75" alt="">
<h3>15 Make-Ahead Breakfasts Under 300 Calories</h3>
<p>MyFitnessPal Blog</p>
</div>
<div onclick=window.location.href="./blog.html">
<img src="https://www.myfitnesspal.com/_next/image?url=%2F_next%2Fstatic%2Fmedia%2Fcheat-days.a49e92b5.jpg&w=1920&q=75" alt="">
<h3>The problem with cheat days</h3>
<p>MyFitnessPal Blog</p>
</div>
<div onclick=window.location.href="./blog.html">
<img src="https://www.myfitnesspal.com/_next/image?url=%2F_next%2Fstatic%2Fmedia%2Fgetting-moving.e3e4042a.png&w=1920&q=75" alt="">
<h3>Essential Guide to Getting Moveing</h3>
<p>MyFitnessPal Blog</p>
</div>
</div>
</div>
</div>
<!-- app -->
<div class="app">
<div>
<!-- <div> -->
<h1>Connect with over 50 apps.</h1>
<p>Easily link your MyFitnessPal account with apps that support your healthier lifestyle. It’s not just about calories. It’s about feeling better, looking better, and living better.</p>
<img src="https://www.myfitnesspal.com/_next/image?url=%2F_next%2Fstatic%2Fmedia%2Fimg-apps%402x.85e549ef.png&w=1920&q=75" alt="">
<div class="play-s">
<img onclick=window.location.href="https://apps.apple.com/us/app/myfitnesspal/id341232718" src="https://www.myfitnesspal.com/_next/static/media/conversion-apple-app-store-logo.751bc42c.svg" alt="">
<img onclick=window.location.href="https://play.google.com/store/apps/details?id=com.myfitnesspal.android" src="https://www.myfitnesspal.com/_next/static/media/conversion-google-play-store-logo.1c6369a1.svg" alt="">
</div>
<!-- </div> -->
</div>
</div>
<!-- nav -->
<nav>
<div>
<p>Calorie Counter</p>
<p>Blog</p>
<p>Terms</p>
<p>Privacy</p>
<p>Contact Us</p>
<p>API</p>
<p>Jobs</p>
<p>Feedback</p>
<p>Community Guidelines</p>
<p>Ad Choices</p>
<p>Do Not Sell My Personal Information</p>
<select name="" id="">
<option value="">English</option>
<option value="">Deutsh</option>
<option value="">Espanol</option>
</select>
</div>
<p style="text-align: center; margin-top: 10px;">© 2022 MyFitnessPal, Inc.</p>
</nav>
<script src="https://cdn.jsdelivr.net/npm/swiper@8/swiper-bundle.min.js"></script>
</body>
</html>
<script src="./index.js">
</script>
<script src="https://unpkg.com/flickity@2/dist/flickity.pkgd.min.js"></script>