-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
101 lines (85 loc) · 3.83 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
<!-- Made by Winston Hsiao - March, 2022 -->
<!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 maximum-scale=1">
<meta name="description" content="1 Rep Max Calculator for Bench, Squat, and Deadlift, by Winston Hsiao">
<meta name="keywords" content="1 rep max calculator, 1 rep max, calculate bench max, calculate squat max, calculate deadlift max, calculate one rep max, one rep max calculator">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css" integrity="sha512-KfkfwYDsLkIlwQp6LFnl8zNdLGxu9YAA1QvwINks4PhcElQSvqcyVLLD9aMhXd13uQjoXtEKNosOWaZqXgel0g==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="style.css">
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3209450174618672" crossorigin="anonymous"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-E9Y5NQBFD5"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-E9Y5NQBFD5');
</script>
<title>1 Rep Max Calculator</title>
</head>
<body>
<header class="header">
<div class="container">
<div>
<h1>1 Rep Max Calculator</h1>
<p>
Calculate your 1 rep max for squat,
bench, and deadlift. Enter weight in pounds (lbs),
and reps done at that weight. Calculation works best
in 3-8 rep range.
</p>
</div>
<h1><i class="fa-solid fa-dumbbell fa-2x"></i></h1>
</div>
</header>
<div class="main">
<div class="container">
<form class="weightCalc">
<div class="msg"></div>
<!-- <div>
<label>Lift Type</label>
<select class="select-lift" name="life-type">
<option value="Squat">Squat</option>
<option value="Bench">Bench</option>
<option value="Deadlift">Deadlift</option>
</select>
</div> -->
<div>
<label for="weight">Weight (lbs):</label>
<input type="text" id="weight">
</div>
<div>
<label for="reps"># of Reps:</label>
<input type="text" id="reps">
</div>
<input class="btn" type="submit" value="calculate">
</form>
</div>
<div class="container">
<div class="oneRepMax">
<p>Your 1 Rep Max is ...<p>
</div>
</div>
<div class="container">
<div class="links">
<div>
<a href="https://github.com/Winston-Hsiao/1-Rep-Max-Calculator" id="repo">View project code on Github</a>
</div>
<div>
<a href="https://github.com/Winston-Hsiao" id="github">Github</a>
<a href="https://www.linkedin.com/in/winston--hsiao/" id="linkedin">LinkedIn</a>
<a href="https://www.tiktok.com/@winstonhsiao?lang=en" id="tiktok">Tiktok</a>
</div>
</div>
</div>
</div>
<footer>
<p>Made by Winston Hsiao - March 2022</p>
</footer>
<script src="script.js"></script>
<script src=https://cdnjs.cloudflare.com/ajax/libs/mathjs/3.3.0/math.min.js></script>
</body>
</html>