-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
43 lines (39 loc) · 1.46 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Budget Manager</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="budget-manager">
<h1>Budget Manager</h1>
<!-- Input Form -->
<form id="transaction-form">
<input type="text" id="description" placeholder="Description" required>
<input type="number" id="amount" placeholder="Amount" required>
<select id="category">
<option value="Food">Food</option>
<option value="Rent">Rent</option>
<option value="Utilities">Utilities</option>
<option value="Entertainment">Entertainment</option>
</select>
<select id="type">
<option value="income">Income</option>
<option value="expense">Expense</option>
</select>
<button type="submit">Add Transaction</button>
</form>
<!-- Budget Summary -->
<div class="summary">
<p>Total Income: <span id="total-income">$0.00</span></p>
<p>Total Expenses: <span id="total-expenses">$0.00</span></p>
<p>Balance: <span id="balance">$0.00</span></p>
</div>
<!-- Transaction List -->
<div id="transaction-list"></div>
</div>
<script src="js/script.js"></script>
</body>
</html>