-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
177 lines (168 loc) · 5.21 KB
/
index.html
File metadata and controls
177 lines (168 loc) · 5.21 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>HIIT•IT</title>
<link
rel="icon"
type="image/png"
href="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTcHIGU9eZRWz8LVBerV7ebZQLd38hcij7k2Q&s"
/>
<link rel="stylesheet" href="style.css" />
<script type="module" src="./script.js"></script>
</head>
<body>
<header>
<h1 id="title">HIIT: 4-Week Plan + Timer</h1>
<div class="sub" id="subtitle">
One round: <b>60s work |</b> <b>20s rest |</b> <b>10 rounds</b>
</div>
<div class="controls">
<button id="theme-toggle">🌙</button>
</div>
</header>
<main class="grid">
<!-- Workout Combos -->
<section class="card">
<h2>Workout Combos</h2>
<div class="tabs">
<div class="tab active" data-tab="jump">High-Impact</div>
<div class="tab" data-tab="low">Low-Impact</div>
</div>
<div class="tab-content">
<div id="jump" class="tabpane">
<span class="pill">10 min</span>
<span class="pill">60/20</span>
<ol>
<li>Burpees</li>
<li>Mountain Climbers</li>
<li>Jump Squats</li>
<li>Jumping Lunges</li>
<li>Push-Up + Jump</li>
<li>High-Knee Sprint in Place</li>
<li>Plank Twist</li>
<li>Jumping Jacks</li>
<li>Squat + Arm Throw</li>
<li><b>Finish Strong — Burpees Max</b></li>
</ol>
</div>
<div id="low" class="tabpane" hidden>
<span class="pill">10 min</span>
<span class="pill">60/20</span>
<ol>
<li>Burpees (No Jump)</li>
<li>Mountain Climbers</li>
<li>Controlled Squats</li>
<li>Reverse Lunges</li>
<li>Push-Up + Knee Lift</li>
<li>High-Knee March</li>
<li>Plank Shoulder Tap</li>
<li>Arm Jacks</li>
<li>Squat + Torso Twist</li>
<li><b>Finish Strong — Plank Knee Tucks</b></li>
</ol>
</div>
</div>
</section>
<!-- Interval Timer -->
<section class="card">
<h2>Interval Timer</h2>
<div class="timer">
<div class="screen">
<div>
<div class="time" id="time">01:00</div>
<span class="phase" id="phase">Round 1/10 — Work</span>
</div>
</div>
<div class="row">
<button class="primary" id="start">Start</button>
<button id="pause">Pause</button>
<button class="warn" id="reset">Reset</button>
</div>
<div class="cfg">
<div>
<label>Work (sec)</label>
<input type="number" id="work" value="60" min="5" max="300" />
</div>
<div>
<label>Rest (sec)</label>
<input type="number" id="rest" value="20" min="0" max="300" />
</div>
<div>
<label>Rounds</label>
<input type="number" id="rounds" value="10" min="1" max="50" />
</div>
</div>
<p class="hint">
Tip: Keep your heart rate at 70–85% max for fat burn.
</p>
</div>
</section>
<!-- 4-Week Schedule -->
<section class="card" style="grid-column: 1/-1">
<h2>4-Week Schedule</h2>
<div class="hint">
Recommendation: 4 workouts/week, alternate between combos.
</div>
<table>
<thead>
<tr>
<th>Week</th>
<th>Mon</th>
<th>Tue</th>
<th>Wed</th>
<th>Thu</th>
<th>Fri</th>
<th>Sat</th>
<th>Sun</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>High-Impact</td>
<td>Rest</td>
<td>Low-Impact</td>
<td>Rest</td>
<td>High-Impact</td>
<td>Low-Impact</td>
<td>Rest</td>
</tr>
<tr>
<td>2</td>
<td>Low-Impact</td>
<td>Rest</td>
<td>High-Impact</td>
<td>Rest</td>
<td>Low-Impact</td>
<td>High-Impact</td>
<td>Rest</td>
</tr>
<tr>
<td>3</td>
<td>High-Impact</td>
<td>Rest</td>
<td>Low-Impact</td>
<td>Rest</td>
<td>High-Impact</td>
<td>Low-Impact</td>
<td>Rest</td>
</tr>
<tr>
<td>4</td>
<td>Low-Impact</td>
<td>Rest</td>
<td>High-Impact</td>
<td>Rest</td>
<td>Low-Impact</td>
<td>High-Impact</td>
<td>Rest</td>
</tr>
</tbody>
</table>
</section>
</main>
<footer>Remember: 3–5 min warm-up + 3–5 min cool-down.</footer>
</body>
</html>