-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
80 lines (76 loc) · 2.11 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
<!-- index.html -->
<!DOCTYPE html>
<html>
<head>
<title>Expense Tracker</title>
<link rel="stylesheet"
type="text/css"
href="style.css" />
</head>
<body>
<div class="container">
<h1>Expense Tracker</h1>
<p> This is the Web Expense Tracker created using HTML, CSS and JS as an
university project. You can use this website to keep track of your expenses
date-wise. Just enter your expenses with the amount and date and
the "grand total" figure will reflect the total expenses. You can also delete any
expense under the action column of the table.</p>
</p>
<form id="expense-form">
<div class="form-control">
<label for="expense">Expense</label>
<input type="text"
id="expense-name"
placeholder="Enter Expense" required />
</div>
<div class="form-control">
<label for="Amount">Amount</label>
<input type="number"
id="expense-amount"
placeholder="Enter Amount" required />
</div>
<!--<div class="form-control">
<label for="Category">Category</label>
<select id="category">
<option value="FnB">Food & Beverage</option>
<option value="Rent">Rent</option>
<option value="Transport">Transport</option>
<option value="Rehab">Rehabilitation</option>
<option value="Others">Others</option>
</select>
</div> -->
<div class="form-control">
<label for="date">Date</label>
<input type="date"
id="date"
placeholder="Date" required />
</div>
<button class="btn">
Add Expense
</button>
</form>
<div class="expense-table">
<table>
<thead>
<tr>
<th>Expense Name</th>
<th>Amount</th>
<!--<th>Category</th>-->
<th>Date</th>
<th>Action</th>
</tr>
</thead>
<tbody id="expense-list"></tbody>
</table>
</div>
</div>
<div class="total-amount">
<h2>Grand Total:
Rs <span id="total-amount">0</span> </h2>
</div>
<script src="script.js"></script>
</body>
<footer>
<p>Designed and Developed by SANIA VERMA. All rights reserved.</p>
</footer>
</html>