This repository has been archived by the owner on Nov 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
55 lines (47 loc) · 2.09 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
<!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">
<title>DietMate</title>
<!-- Link to the CSS file -->
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
</head>
<body>
<header class="header">
<h1>Welcome to DietMate</h1>
</header>
<main>
<form action="/" method="post">
<label for="gender">Gender:</label>
<select name="gender" id="gender">
<option value="male">Male</option>
<option value="female">Female</option>
</select><br>
<label for="weight">Weight (kg):</label>
<input type="number" name="weight" id="weight" required><br>
<label for="height">Height (cm):</label>
<input type="number" name="height" id="height" required><br>
<label for="age">Age (years):</label>
<input type="number" name="age" id="age" required><br>
<label for="activity_level">Activity Level:</label>
<select name="activity_level" id="activity_level">
<option value="sedentary">Sedentary</option>
<option value="lightly active">Lightly active</option>
<option value="moderately active">Moderately active</option>
<option value="very active">Very active</option>
<option value="extra active">Extra active</option>
</select><br>
<input type="submit" value="Submit">
</form>
</main>
<footer>
<p>© 2023 DietMate. All rights reserved.</p>
<!-- Attribution to the YouTuber -->
<p>Tutorial inspired by <a href="https://www.youtube.com/watch?v=kng-mJJby8g&t=1162s&ab_channel=TechWithTim" target="_blank">TechWithTim</a>.</p>
</footer>
<!-- Link to the JavaScript file -->
<script src="{{ url_for('static', filename='js/script.js') }}"></script>
</body>
</html>