-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
38 lines (33 loc) · 1.27 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Workout Table</title>
</head>
<body>
<h1>Add a New Workout</h1>
<form id="addForm">
<label for="name">Name of exercise: </label>
<input type="text" name="name" class="add" id="name" placeholder="Exercise" required>
<br>
<label for="reps">Number of reps: </label>
<input type="number" class="add" name="reps" id="reps" placeholder="Reps" required>
<br>
<label for="weight">Weight: </label>
<input type="number" class="add" name="weight" id="weight" placeholder="Weight" required>
<br>
<label for="units">Units: </label>
<input type="text" class="add" name="units" id="units" placeholder="Units" required>
<br>
<label for="date">Date: </label>
<input type="date" class="add" name="date" id="date" placeholder="Date" required>
<br>
<button>Submit</button>
</form>
<h1>Completed Workouts</h1>
<table id="workout">
</table>
<script src="app.js"></script>
</body>
</html>