-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
65 lines (63 loc) · 1.73 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<title>Grocery list</title>
</head>
<body>
<div class="container">
<div class="title-sec">
<h2>Grocery List</h2>
<img src="icon.png" alt="" style="width: 40px" />
</div>
<div class="total-section">
<p id="totalAmount">Total</p>
<h2 id="totalAmountSect">₦ 0</h2>
</div>
<div class="add-item">
<p>Add New Item</p>
<hr />
</div>
<div class="item-details">
<label for="inputTitle" class="inputName">Item Name</label>
<input
type="text"
id="inputTitle"
class="inputTitle"
placeholder="Enter Item Name...."
/>
</div>
<div class="amount-details">
<label for="inputAmount" class="inputName">Amount</label> <br />
<input
type="number"
id="inputAmount"
class="inputTitleA"
placeholder="Enter amount...."
/>
</div>
<div class="input-quantity">
<label for="quantity" class="quantity-field">Quantity:</label>
<input
type="number"
id="quantity"
name="quantity"
min="1"
value="1"
class="quantity-input"
/>
</div>
<div class="btnAdd">
<button type="submit" id="item-btn" class="item-btn">Add Item</button>
</div>
<div class="history-section">
<h2>Item List</h2>
<hr />
<ul class="list" id="list"></ul>
</div>
</div>
<script src="script.js" type="module"></script>
</body>
</html>