-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheartrate.html
56 lines (51 loc) · 2.17 KB
/
heartrate.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
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<title>Heart Rate Zone Calculator</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:title" content="">
<meta property="og:type" content="">
<meta property="og:url" content="">
<meta property="og:image" content="">
<meta name="theme-color" content="#fafafa">
<!-- Latest compiled and minified CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet">
<!-- Latest compiled JavaScript -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
</head>
<body>
<script type="module" src="js/heartrate.js"></script>
<!-- Add your site or application content here -->
<div class="mt-4 p-5 bg-primary text-white rounded" style="margin:10%">
<h1>Heart Rate Zone Calculator</h1>
<p>
<p>Max Heart Rate Test:</p>
<p>10 Min Easy Jog</p>
<p>Run Uphill at 80% for 3 min</p>
<p>Walk Back Down</p>
<p>Run Uphill at 90% for 3 min</p>
<p>Jog back down</p>
<p>Sprint uphill as fast as possible, check HR once you fail. This is about your max HR</p>
</p>
</div>
<form onsubmit="return false" style="padding-left: 10%; padding-right: 10%" id="powerForm">
<div class="row">
<div class="col">
<input type="text" class="form-control" placeholder="Max Heart Rate" name="hr_max" id="hr_max">
</div>
<div class="col">
<input type="text" class="form-control" placeholder="Resting Heart Rate" name="hr_rest" id="hr_rest">
</div>
</div>
<button type="submit" onclick="hr_data()" class="btn btn-primary">Submit</button>
</form>
<div class="container-fluid" style="max-width: 1000px">
<div class="row" style="margin: 0 auto; float: none;">
<table class="table table-responsive-sm table-hover" id="improvement_table"></table>
</div>
</div>
</body>
</html>