-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
69 lines (68 loc) · 3.04 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>TrackMyFat | Meal & Calorie Tracker</title>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
</head>
<body>
<!-- Navbar -->
<nav>
<div class="nav-wrapper teal">
<div class="container">
<a href="#" class="a brand-logo center">TrackMyFat</a>
<ul class="right">
<li><a href="#" class="clear-btn waves-effect waves-light btn">Clear All</a></li>
</ul>
</div>
</div>
</nav>
<br>
<div class="container">
<!-- Form -->
<div class="card">
<div class="card-content">
<span class="card-title">Add Meal / Food Item</span>
<form action="" class="col">
<div class="row">
<div class="input-field col s6">
<input type="text" id="item-name" placeholder="Add Item">
<label for="item-name">Meal</label>
</div>
<div class="input-field col s6">
<input type="number" id="item-calories" placeholder="Add Calories">
<label for="item-name">Calories</label>
</div>
<a class="add-btn btn btn waves-effect waves-light">add meal</a>
<a class="update-btn btn btn waves-effect waves-light orange">update meal</a>
<a class="delete-btn btn btn waves-effect waves-light red">remove meal</a>
<a class="back-btn btn btn waves-effect waves-light grey right">back</a>
</div>
</form>
</div>
</div>
<!-- Calorie Count -->
<h3 class="center-align">Total Calories: <span class="total-calories">0</span></h3>
<!-- Meal list -->
<ul id="item-list" class="collection">
<!-- <li class="collection-item" id="item-0">
<strong>Falafel: </strong><em>250 Calories</em>
<a href="#" class="secondary-content"><i class="edit-item material-icons">create</i></a>
</li>
<li class="collection-item" id="item-0">
<strong>Hummus: </strong><em>120 Calories</em>
<a href="#" class="secondary-content"><i class="edit-item material-icons">create</i></a>
</li>
<li class="collection-item" id="item-0">
<strong>Soy Ham: </strong><em>150 Calories</em>
<a href="#" class="secondary-content"><i class="edit-item material-icons">create</i></a>
</li> -->
</ul>
</div>
<script src="./app.js"></script>
</body>
</html>