-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLean Girl Calorie Calculator.html
455 lines (388 loc) · 15.6 KB
/
Lean Girl Calorie Calculator.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
<!DOCTYPE html>
<!-- saved from url=(0049)https://www.leangirlguide.com/mycalories?r_done=1 -->
<html lang="en" class=" webp webp-alpha webp-animation webp-lossless"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Lean Girl Calorie Calculator</title>
<meta name="description" content="Get your unique numbers for fat-loss here">
<meta name="keywords" content="lean girl, lean body lab, calorie calculator">
<meta name="robots" content="index, follow">
<link rel="shortcut icon" href="https://kartrausers.s3.amazonaws.com/leangirl/7082759_5dfcf632bb7e9_Lean_Girl-Logo-Final-White_in_Bright_Grapefruit_Circle.png">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="author" content="Angelique Michelle Daubermann">
<meta property="og:title" content="Lean Girl Calorie Calculator">
<meta property="og:description" content="Get your unique numbers for fat-loss here">
<meta property="og:image" content="https://d1aettbyeyfilo.cloudfront.net/leangirl/7054245_1576696763330LBL-Heading-2.jpg">
<!-- Font icons preconnect -->
<link rel="preconnect" href="https://app.kartra.com/" crossorigin="">
<link rel="preconnect" href="https://fonts.gstatic.com/" crossorigin="">
<link rel="preconnect" href="https://fonts.googleapis.com/" crossorigin="">
<link rel="preconnect" href="https://kartra.s3.amazonaws.com/" crossorigin="">
<link rel="preconnect" href="https://kartrausers.s3.amazonaws.com/">
<link rel="dns-prefetch" href="https://app.kartra.com/">
<link rel="dns-prefetch" href="https://fonts.gstatic.com/">
<link rel="dns-prefetch" href="https://fonts.googleapis.com/">
<link rel="dns-prefetch" href="https://kartra.s3.amazonaws.com/">
<link rel="dns-prefetch" href="https://kartrausers.s3.amazonaws.com/">
<!--
Google fonts are computed and loaded on page build via save.js
Individual stylesheets required are listed in /css/new/css/pages/skeleton.css
-->
<!--<link href="//d2uolguxr56s4e.cloudfront.net/internal/pages/css/skeleton.min.css" rel="stylesheet">-->
<link type="text/css" rel="stylesheet" href="./includes/css" as="style" onload="this.onload=null;this.rel='stylesheet'"><link rel="stylesheet" href="./includes/new_bootstrap.css">
<link rel="stylesheet" href="./includes/kartra_components.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
<link rel="stylesheet" href="./includes/font-awesome.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
<noscript>
<link rel="stylesheet" href="//d2uolguxr56s4e.cloudfront.net/internal/pages/css/kartra_components.css">
<link rel="stylesheet" href="//app.kartra.com/css/new/css/pages/font-awesome.css">
<link type="text/css" rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,600,600i,700,700i,900,900i|Lato:300,300i,400,400i,600,600i,700,700i,900,900i|Roboto:300,300i,400,400i,600,600i,700,700i,900,900i|Raleway:300,300i,400,400i,600,600i,700,700i,900,900i|Open+Sans:300,300i,400,400i,600,600i,700,700i,900,900i|Open+Sans:300,300i,400,400i,600,600i,700,700i,900,900i|Roboto+Condensed:300,300i,400,400i,600,600i,700,700i,900,900i&display=swap">
</noscript>
<script async="" src="./includes/fbevents.js.download"></script><script>
/*! loadCSS rel=preload polyfill. [c]2017 Filament Group, Inc. MIT License */
(function(w){"use strict";if(!w.loadCSS){w.loadCSS=function(){}}var rp=loadCSS.relpreload={};rp.support=function(){var ret;try{ret=w.document.createElement("link").relList.supports("preload")}catch(e){ret=false}return function(){return ret}}();rp.bindMediaToggle=function(link){var finalMedia=link.media||"all";function enableStylesheet(){link.media=finalMedia}if(link.addEventListener){link.addEventListener("load",enableStylesheet)}else if(link.attachEvent){link.attachEvent("onload",enableStylesheet)}setTimeout(function(){link.rel="stylesheet";link.media="only x"});setTimeout(enableStylesheet,3e3)};rp.poly=function(){if(rp.support()){return}var links=w.document.getElementsByTagName("link");for(var i=0;i<links.length;i++){var link=links[i];if(link.rel==="preload"&&link.getAttribute("as")==="style"&&!link.getAttribute("data-loadcss")){link.setAttribute("data-loadcss",true);rp.bindMediaToggle(link)}}};if(!rp.support()){rp.poly();var run=w.setInterval(rp.poly,500);if(w.addEventListener){w.addEventListener("load",function(){rp.poly();w.clearInterval(run)})}else if(w.attachEvent){w.attachEvent("onload",function(){rp.poly();w.clearInterval(run)})}}if(typeof exports!=="undefined"){exports.loadCSS=loadCSS}else{w.loadCSS=loadCSS}})(typeof global!=="undefined"?global:this);
window.global_id = 'XpjwcWqKf2Za';
window.secure_base_url = '//app.kartra.com/';
</script>
<!--headerIncludes-->
<style>
.overlay_builder {
position: relative;
}
.kartra_optin_footer-poweredby > p {
font-size: 12px;
line-height: 130%;
font-weight: 300;
color: #333;
margin-top: 0px;
margin-bottom: 0px;
}
body.modal-open{
overflow:hidden;
overflow-x:;
}
#page_background_color
{
background-color:#ffffff;
}
body
{
background-color:#ffffff;
}
[data-effect] {
visibility: hidden;
}
</style>
<script>
var google_analytics = null;
</script>
<script src="./includes/skeleton-above.js.download"></script>
<style id="pagesCustomCSS">@import url('https://fonts.googleapis.com/css?family=Roboto:100,300,300i,400,400i,500,500i,700,700i');
.lsp-content--shadow-top-dark:before{
content: "";
position: absolute;
top: -20px;
left: 0px;
width: 100%;
z-index: 1;
height: 20px;
box-shadow: 4px 10px 40px rgba(0, 0, 0, 1);
}
.lsp-content--shadow-bottom-dark:after{
content: "";
position: absolute;
bottom: -20px;
left: 0px;
width: 100%;
z-index: 1;
height: 20px;
box-shadow: 4px 0px 40px rgba(0, 0, 0, 1);
}
.lsp-content--shadow-top-light:before{
content: "";
position: absolute;
top: -20px;
left: 0px;
width: 100%;
z-index: 1;
height: 20px;
box-shadow: 4px 10px 40px rgba(0, 0, 0, 0.3);
}
.lsp-content--shadow-bottom-light:after{
content: "";
position: absolute;
bottom: -20px;
left: 0px;
width: 100%;
z-index: 1;
height: 20px;
box-shadow: 4px 0px 40px rgba(0, 0, 0, 0.4);
}
@media(max-width: 767px){
.lsp_16_kartra_button--responsive {
padding-left: 30px !important;
padding-right: 30px !important;
}
}
.form_cal label
{
padding: 25px;
font-size: 22px;
color: grey;
min-width: 250px;
}
.form_cal img
{
vertical-align: center !important;
}
.form_cal.container
{
max-width: 60%;
padding: 15px;
/* opacity: 0.8; */
/* background: rgb(0,0,0,0.8); */
}
.form_cal input[type=number]
{
/* border: 1px solid #044284; */
border-radius: 2px;
box-shadow: 1px 1px 2px #666;
font-size: 22px;
height: 59px;
border-radius: 8px;
padding-left: 46px;
}
.form_cal input[type=text]
{
/* border: 1px solid #044284; */
border-radius: 2px;
box-shadow: 1px 1px 2px #666;
font-size: 22px;
height: 59px;
border-radius: 8px;
}
.form_cal::placeholder
{
padding-right: 5px;
}
.form_cal #activity
{
/* border: 1px solid #044284; */
border-radius: 5px;
box-shadow: 1px 1px 2px #666;
font-size: 20px;
height: 59px;
}
.form_cal .settingtoggle
{
display: none;
margin-left: 10%;
margin-top: -24px;
}
.form_cal .calculate
{
height: 69px;
font-size: 30px;
border-radius: 30px;
background-color: #C8A2C8;
color: white;
text-transform: uppercase;
}
.form_cal .btn-danger
{
height: 50px;
width: 76px;
font-size: 20px;
margin-left: 5px;
}
.form_cal .settingtext
{
margin-left: 65px;
margin-top: 11px;
font-size: 18px;
}
.form_cal .btn
{
margin-top: -24px;
}
.form_cal .resultvalue1{
margin-left: 0%;
margin-top: 15px;
}
.form_cal hr
{
border-top: 1px solid #d2c9c9;
}
.form_cal .row
{
text-align: center;
background-color: #064c6f;
margin-top: -15px;
color: white;
margin-bottom: 16px;
height: 91px;
}
.form_cal h1
{
font-size: 2.1em;
margin: 1.2em 0;
}
.form_cal .kartra_page_optin_form .kartra_optin_wrapper .kartra_optin_controls {
position: relative;
line-height: 0;
}
.form_cal .kartra_optin_i{
position: absolute;
bottom: auto;
top: 20px;
font-size: 28px;
left: 12px;
text-align: right;
z-index: 100;
display: block;
line-height: 1;
}
.form_cal .input-container {
display: flex;
width: 100%;
margin-bottom: 15px;
}
.form_cal .input-field {
width: 100%;
padding: 10px;
outline: none;
}
.form_cal .inp.form_cal labelut-icons i {
position: absolute;
}
.form_cal .input-icons {
width: 100%;
margin-bottom: 10px;
}
.form_cal .icon {
padding: 12px !important;
min-width: 40px !important;
color: black !important;
background:none !important;
font-size: 33px;
}
.form_cal .input-field {
width: 100%;
padding: 10px;
text-align: center;
}
.kartra-optin-lineico-weight:before {
content: "H";
}
.kartra-optin-lineico-height:before {
content: "W";
}
.kartra_page_optin_form .form_cal.kartra_optin_wrapper .kartra_optin_controls.kartra_optin_input_giant.kartra_optin_icon i.kartra_optin_i{
top: 14px !important;
}
@media (max-width:767px){
.form_cal.container {
max-width: 100%;
}
.form_cal label {
padding: 25px 0 5px;
}
.form_cal .calculate {
font-size: 15px;
}
} </style>
</head>
<body cz-shortcut-listen="true">
<div style="height:0px;width:0px;opacity:0;position:fixed" class="js_kartra_trackable_object" data-kt-type="kartra_page_tracking" data-kt-value="XpjwcWqKf2Za" data-kt-owner="4pAD50rG">
</div>
<div id="page" class="page container-fluid">
<div id="page_background_color" class="row">
<div class="content" style="padding: 40px 0px; background-color: rgb(255, 255, 255);" id="_onhc048fl">
<div class="background_changer background_changer--blur0" style="background-image: none; opacity: 1;" data-was-processed="true"></div>
<div class="background_changer_overlay" style="background-image: none;"></div>
<div class="container"><div class="row" data-component="grid" id="accordion-7gdCzDS8xJ"><div class="col-md-12"><div class="js_kartra_component_holder">
<div data-component="headline" id="rhHBKwsNuy">
<div class="kartra_headline kartra_headline--size-giant kartra_headline--montserrat-font kartra_headline--font-weight-thin kartra_headline--text-center kartra_headline--light-black kartra_headline--margin-bottom-small" style="position: relative; margin-top: 0px; margin-bottom: 0px;">
<p style="font-size: 2rem; line-height: 1.2em;"><font color="#bd94cf" face="roboto"><span style="font-size: 2rem; line-height: 1.2em;"><span style="caret-color: rgb(189, 148, 207); font-size: 2rem; line-height: 1.2em;"><b><span style="font-size: 2rem; line-height: 1.2em;">START HERE</span></b></span></span></font></p>
</div>
</div>
<div class="kartra_element_bg kartra_element_bg--padding-small kartra_element_bg--padding-bottom-tiny kartra_element_bg--margin-bottom-extra-small js_kartra_component_holder hover" data-component="bundle" data-source-element="true" style="margin: 0px; padding: 0px;" id="6UqoFyohJa">
<div style="border-style: none; padding: 0px;" class="your-code-holder" data-selector="div.background-item">
<div><div><div><div><div><div><div><div><div><div><div data-embed="true" data-embed-id="3">
<div class="kartra_page_optin_form">
<div class="container form_cal kartra_optin_wrapper">
<form>
<div class="kartra_optin_cg">
<div class="input-icons kartra_optin_controls kartra_optin_input_giant kartra_optin_icon">
<i class="kartra_optin_i kartra-optin-lineico-person-1"></i>
<input type="number" id="age" name="age" placeholder="Age" class="form-control">
</div>
<p style="font-family: arial; color: grey">Ages 15-80</p>
</div>
<div class="kartra_optin_cg">
<div class="input-icons kartra_optin_controls kartra_optin_input_giant kartra_optin_icon">
<i class="kartra_optin_i kartra-optin-lineico-weight"></i>
<input type="number" id="height" name="height" placeholder="Height (cm)" class="form-control" required=""><br>
</div>
</div>
<div class="kartra_optin_cg">
<div class="input-icons kartra_optin_controls kartra_optin_input_giant kartra_optin_icon">
<input type="number" id="weight" name="weight" placeholder="Weight (kg)" class="form-control" required="">
<i class="kartra_optin_i kartra-optin-lineico-height"></i>
</div>
</div>
<select id="activity" name="cactivity" class="form-control">
<option value="1">Select an activity level</option>
<option value="1.25">Sedentry/Lightly Active (Desk Job/Sitting Mostly/Moderate Workouts)</option>
<option value="1.375">Moderately Active (On Feet Most of Day/Intense Workouts)</option>
<option value="1.55">Very Active (Intense Exercise)</option>
<option value="1.725">Athlete (High Performance Athlete)</option>
</select> <br><br><br>
<input type="button" name="calculate" value="Calculate my unique numbers Ange" class="btn btn-success form-control calculate"><br><hr>
<div class="resultvalue1">
<div class="kartra_headline kartra_headline--size-giant kartra_headline--open-sans-font kartra_headline--text-center kartra_headline--white kartra_headline--margin-bottom-tiny" style="position: relative; margin-top: 0px; margin-bottom: 0px;">
<p style="font-size: 1.4rem; line-height: 1.2em;"><strong><span style="line-height: 1.2em; font-size: 1.4rem;"><span style="color: rgb(128, 128, 128); font-size: 1.4rem; line-height: 1.2em;">Here are your results girl!</span></span></strong></p>
</div>
<br>
<label>Maintenance Calories : </label> <input readonly="" type="text" name="resultvalue" id="resultval1"><br>
<label>Fat-Loss Calories : </label>
<input type="text" name="resultvalue" readonly="" id="resultval2"><br>
<label>Surplus Calories : </label>
<input type="text" name="resultvalue" readonly="" id="resultval3">
</div>
</form>
</div>
</div>
<script data-embed="true" type="text/javascript">
$(document).ready(function(){
var result='';
$(".calculate").click(function(){
var age = $('#age').val();
var totalage = age * 5;
var height = $('#height').val();
var totalheight = height * 6.25;
var weight = $('#weight').val();
var totalweight = weight * 10;
var activity =$('#activity').val();
result = totalweight + totalheight - totalage - 161;
result1 = result * activity;
result2 = result1 - result1 * 15/100;
result3 = result1 + result1 * 10/100;
/* alert(result);*/
result1 = Math.round(result1);
$("#resultval1").val(result1);
result2 = Math.round(result2);
$("#resultval2").val(result2);
result3 = Math.round(result3);
$("#resultval3").val(result3);
});
});
</script>
</div></div></div></div></div></div></div></div></div></div></div>
</div>
</div>
</div></div></div></div>
</div>
</div>
</div>
<!-- /#page -->
<div style="height:0px;width:0px;opacity:0;position:fixed">
</div>
</body></html>