-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
32 lines (27 loc) · 1.07 KB
/
index.html
File metadata and controls
32 lines (27 loc) · 1.07 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Expense Tracker</title>
<link rel="stylesheet" href="style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Courier+Prime:ital,wght@0,400;0,700;1,400;1,700&display=swap"
rel="stylesheet">
</head>
<body>
<div class="container">
<h1 class="title">Expense Tracker</h1>
<form id="expense-form" class="expense-form">
<input type="text" id="expense-name" placeholder="Enter expense name" required>
<input type="number" id="expense-amount" placeholder="Enter amount" required>
<button type="submit">Add Expense</button>
</form>
<div class="list-container">
<ul id="expense-list"></ul>
</div>
</div>
<script src="script.js"></script>
</body>
</html>