-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
59 lines (57 loc) · 1.83 KB
/
index.html
File metadata and controls
59 lines (57 loc) · 1.83 KB
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
<!DOCTYPE html>
<html>
<head>
<title>Budget Tracker | CodingNepal</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="headerBar">
<header>
<h1 class="title">My Budget Tracker</h1>
<h2 class="topbar">Your Current Balance</h2>
<p>
<span class="currency">$</span>
<span class="balance"></span>
</p>
<header>
</div>
<div class="content">
<h3 class="secondTitle">Add a new transaction: </h3>
<div class="form">
<form id="expForm">
<div class="formLine left">
<span for="type">Type:</span>
<select id="type">
<option value="chooseOne">Choose one...</option>
<option value="income">Income</option>
<option value="expense">Expense</option>
</select>
</div>
<div class="formLine right">
<span for="name">Name:</span>
<input type="text" id="name">
</div>
<div class="formLine right">
<span for="amount">Amount:</span>
<input type="text" id="amount">
</div>
<button type="submit" class="buttonSave">Add to transactions</button>
</form>
</div>
</div>
<div class="content">
<table class="table">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Amount</th>
<th>Options</th>
</tr>
</thead>
<tbody id="transactionTable"></tbody>
</table>
</div>
<script src="script.js"></script>
</body>
</html>