-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfoods.html
45 lines (45 loc) · 1.5 KB
/
foods.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Quantified Self - Manage Foods</title>
</head>
<body>
<div class="body-container">
<form id="new-food-form">
<div class="food-name-container">
<label for="food-name">Name</label>
<input id="food-name">
<div class="form-notice" id="name-notice">Please enter a food name</div>
</div>
<div class="food-calories-container">
<label for="food-calories">Calories</label>
<input id="food-calories" type="number">
<div class="form-notice" id="calories-notice">Please enter a calorie amount</div>
</div>
<input type="submit" id="submit-food" class="default-button" value="Add Food">
</form>
<a href="index.html"><button class="default-button">Meal Diary</button></a>
<div class="food-filter-container">
<form id="food-name-filter">
<label for="name-filter">Filter by Name</label>
<input id="food-filter-input">
</form>
</div>
<article class="food-headers">
<p class="name-header">
<strong>Name</strong>
</p>
<p class="calorie-header">
<strong>Calories</strong>
</p>
<div class="hidden"></div>
</article>
<div id="food-table-info"></div>
<script
src='https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js'>
</script>
<script src="main.bundle.js"></script>
</div>
</body>
</html>