-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
59 lines (49 loc) · 1.69 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
<!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>Expense tracker</title>
</head>
<body>
<main>
<div class="card">
<h1>Expense Tracker</h1>
<h3>Your Balance</h3>
<h2 class="total-balance">$<span>0.00</span></h2>
<div class = "total">
<div class="income">
<p>Income</p>
<p style="color:green">$<span>0.00</span></p>
</div>
<div class="expense">
<p>Expense</p>
<p style="color:red">$<span>0.00</span></p>
</div>
</div>
<h3 class="transaction">History</h3>
<hr class="line">
<div class="all-history">
</div>
<div>
<h3 class="transaction">Add new transaction</h3>
<hr class="line">
</div>
<div class="transaction-name">
<p>Event</p>
<input type="text" placeholder="Enter name...">
</div>
<div class="transaction-amount">
<p>Amount</p>
<p>(negative -expense, positive +income)</p>
<input type="number" placeholder="Enter amount...">
</div>
<button class="submit">
Add
</button>
</div>
</main>
<script src="app.js"></script>
</body>
</html>