-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
62 lines (48 loc) · 1.59 KB
/
Copy pathindex.html
File metadata and controls
62 lines (48 loc) · 1.59 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
60
61
62
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ExpenseFlow</title>
<link rel="icon" type="image/svg+xml" href="assets/favicon.svg" />
<link rel="stylesheet" href="style.css?v=9" />
<script src="main.js" defer></script>
</head>
<body>
<header>
<h1>ExpenseFlow</h1>
<nav aria-label="Primary navigation">
<a href="index.html" aria-current="page">Home</a>
<a href="filters.html">Filters</a>
<a href="reports.html">Reports</a>
<a href="about.html">About</a>
</nav>
</header>
<main>
<h2>Expense Manager</h2>
<p>Add, update and manage your saved expenses.</p>
<p id="countExpenses"></p>
<p id="totalExpenses"></p>
<form aria-label="Add expense">
<select name="category" id="category" required></select>
<input type="text" id="description" placeholder="Description">
<input type="number" id="amount" placeholder="Amount" required min="0.01" max="100000" step="0.01">
<input type="date" id="date" required>
<button type="button" id="addBtn">Add Expense</button>
<button type="button" id="cancelBtn" style="display:none">Cancel Update</button>
</form>
<table aria-label="Expenses">
<thead>
<tr>
<th>Date</th>
<th>Category</th>
<th>Amount</th>
<th>Description</th>
<th>Actions</th>
</tr>
</thead>
<tbody id="expensesTable"></tbody>
</table>
</main>
</body>
</html>