-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
45 lines (37 loc) · 1.56 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
<!DOCTYPE html>
<html>
<head>
<title>
Expense Tracker
</title>
<link rel="icon" href="https://img.icons8.com/bubbles/50/000000/money.png"/>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
</head>
<body>
<h1 id="maintitle">Expense Tracker</h1>
<p>Add positive value for earnings.</p>
<p>Add negative value for expenses.</p>
<form>
<input type="text" id="desc" placeholder="Description..."/>
<input type="number" id="val" placeholder="Rs."/>
<input type="date" id="transdate"/>
<button id="formAddButton"><i class="fa fa-plus-circle fa-3x"></i></button>
</form>
<div id="tabs">
<div id="total">Total Left: Rs <span id="total-amt">0</span></div>
<div id="earn">Total Earned: Rs <span id="earn-amt">0</span></div>
<div id="spend">Total Spent: Rs <span id="spend-amt">0</span></div>
</div>
<table id="transactions">
<tr>
<th style="width: 10%;"> </th>
<th style="width: 40%;">Description</th>
<th style="width: 30%">Amount</th>
<th style="width: 10%;">Date</th>
</tr>
</table>
<script src="script.js"></script>
</body>
</html>