-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
64 lines (58 loc) · 1.96 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
<!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="style.css">
<title>Expense Tracker App</title>
</head>
<body>
<h1>Expense Tracker App</h1>
<div class="input-section">
<label for="category-select">Service/product:</label>
<!-- <select id="category-select">
<option value="Food & Beverage">Food & Beverage</option>
<option value="Rent">Rent</option>
<option value="Transport">Transport</option>
<option value="Relaxing">Relaxing</option>
</select> -->
<select id="category-select">
<option value="Food & Beverage">Food & Beverage</option>
<option value="Rent">Rent</option>
<option value="Transport">Transport</option>
<option value="Relaxing">Relaxing</option>
</select>
<!-- <input type="text" id="category-select" placeholder="write item"> -->
<label for="amount-input">Amount:</label>
<input type="number" id="amount-input">
<label for="date-input">Date:</label>
<input type="date" id="date-input">
<button id="add-btn">Add</button>
</div>
<div class="expenses-list">
<h2>Expenses List</h2>
<table>
<thead>
<tr>
<th>Category</th>
<th>Amount</th>
<th>Date</th>
<th>Delete</th>
</tr>
</thead>
<tbody id="expnese-table-body">
</tbody>
<tfoot>
<tr>
<td>Total:</td>
<td id="total-amount"></td>
<td></td>
<td></td>
</tr>
</tfoot>
</table>
</div>
<script src="app.js"></script>
</body>
</html>