-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
92 lines (70 loc) · 2.92 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="A Progressive shopping app with HTML CSS AND JAVASCRIPT">
<link href="https://fonts.googleapis.com/css2?family=Karla&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/animate.min.css">
<link rel="stylesheet" href="css/style.css">
<link rel="manifest" href="./manifest.json">
<title>Grocery App</title>
<script src="./dexie.min.js"></script>
<script>
if ('serviceWorker' in navigator) {
window.addEventListener('load', () => {
navigator.serviceWorker.register('./sw.js');
});
}
</script>
</head>
<body>
<header>
<h1 class="heading animate__animated animate__bounceInRight">
Shopping Made Easy With Grocery App
</h1>
<p class="paragraph">Grocery App helps you to organize and priotize your list and keep them on track ✔✔✔</p>
</header>
<main class="main-section" id="">
<section class="item-section">
<!--=========== Add item input section ============= -->
<div id="createNewListDiv">
<form id="itemInput">
<label>
<input type="text" id="nameInput" required placeholder="Name of Item">
</label>
<label>
<input type="number" id="quantityInput" placeholder="Quantity">
</label>
<label>
<input type="number" id="priceInput" placeholder=" Price">
</label>
<button type="submit" id="addItemButton"> <span class="plus-sign">✚</span> Create
List</button>
</form>
</div>
<!--=========== end of add item section ============= -->
<!--=========== Delete item section ============= -->
<section>
<div class="itemContainer">
<!-- new item section -->
<div id="newItemsDiv"></div>
<!-- delete all items -->
<div class="deleteItemConatiner">
<button id="deleteAllBtn" onclick="deleteAllItems()">
Delete all Items
</button>
</div>
</div>
</section>
<!--=========== End of Delete item section ============= -->
<!--=========== total price of item section ============= -->
<section class="totalPriceSection">
<div id="totalPriceDiv"></div>
</section>
<p class="Emilson">Made With ❤ ❤ ❤ By Emilson</p>
</section>
</main>
<script src="js/index.js"></script>
</body>
</html>