-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
76 lines (71 loc) · 2.13 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css"
/>
<link rel="stylesheet" href="style.css" />
<title>Budget App | Elias Ed.</title>
</head>
<body>
<div class="wrapper">
<div class="container">
<div class="sub-container">
<div class="total-amount-container">
<h3>Budget</h3>
<p class="hide error" id="budget-error">
Value cannot be empty or negative
</p>
<input
type="number"
id="total-amount"
placeholder="Enter Total Amount"
/>
<button class="submit" id="total-amount-button">Set Budget</button>
</div>
<div class="user-amount-container">
<h3>Expenses</h3>
<p class="hide error" id="product-title-error">
Values cannot be empty
</p>
<input
type="text"
class="product-title"
id="product-title"
placeholder="Enter Title Of Product"
/>
<input
type="number"
id="user-amount"
placeholder="Enter Cost Of Product"
/>
<button class="submit" id="check-amount">Check Amount</button>
</div>
</div>
<div class="output-container flex-space">
<div>
<p>Total Budget</p>
<span id="amount"> 0 </span>
</div>
<div>
<p>Expenses</p>
<span id="expenditure-value"> 0 </span>
</div>
<div>
<p>Balance</p>
<span id="balance-amount"> 0 </span>
</div>
</div>
</div>
<div class="list">
<h3>Expenses List</h3>
<div class="list-container" id="list"></div>
</div>
</div>
<script src="index.js"></script>
</body>
</html>