-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
48 lines (46 loc) · 1.54 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
<!DOCTYPE html>
<html lang="pl">
<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>Calories calculator</title>
<link rel="stylesheet" href="style.css">
<script src="src/api.js" defer></script>
<script src="src/calories.js" defer></script>
</head>
<body>
<div class="container">
<div class="header">
</div>
<div class="menu">
<hr>
<ul>
<li id="first-li"><a href="index.html">Calories calculator</a></li>
<li><a href="index2.html">Recipe searcher</a></li>
</ul>
<hr>
</div>
<form class="inputBar">
<input type="text" id="product" placeholder="Product..." required>
<input type="number" id="amount" placeholder="Amount..." min="1" required><label for="amount"><p class="weird-font">g</p></label>
<input type="submit" id="submit" value="Search">
</form>
<div class="caloriesSum">
<hr>
<span><h1>Total number of kcal: <span id="number">0</span></h1></span>
<hr>
<ul id="hints">
<div id="menubar">
<h2>Choose product:</h2><div class="x-product" onclick="closeHints()"></div>
</div>
</ul>
<ul id="products">
</ul>
</div>
<div class="footer">
© wiatrgonifale 2019
</div>
</div>
</body>
</html>