-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
55 lines (52 loc) · 1.8 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
<!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>MONEY TRACKER WEB-APP</title>
</head>
<body>
<h1>Money Tracker Web-App</h1>
<div class="input-selection">
<label for="category-select">Category:</label>
<select id="category-select">
<option value="College Fee">College Fee</option>
<option value="Rent">Rent</option>
<option value="Transport">Transport</option>
<option value="Food">Food</option>
<option value="Shopping">Shopping</option>
<option value="Cool Drinks">Cool drinks</option>
<option value="Medical Expense">Medical Expense</option>
<option value="Stationary">Stationary</option>
</select>
<label for="amount-inpput">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="expense-table-body">
</tbody>
<tfoot>
<td>Total:</td>
<td id="total-amount"></td>
<td></td>
<td></td>
</tfoot>
</table>
</div>
<script src="script.js"></script>
</body>
</html>