-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
78 lines (71 loc) · 2.98 KB
/
index.html
File metadata and controls
78 lines (71 loc) · 2.98 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<!DOCTYPE html>
<head>
<meta name="description" content="Track your income and expenses with ease. Great for personal finance planning (data saved in browser cookies)."/>
<meta name="keywords" content="HellenicDev, programming, HTML, CSS, JS, open-source, projects, web-developement, hellenic, dev, developer, budget, tracker, finance, planning, money, Budget Tracker"/>
<meta name="author" content="HellenicDev"/>
<meta name="theme-color" content="#19336e"/>
<meta property="og:title" content="Budget Tracker">
<meta property="og:description" content="Track your income and expenses with ease. Great for personal finance planning (data saved in browser cookies).">
<meta property="og:image" content="https://hellenicdev.github.io/budget-tracker/logo.webp">
<meta property="og:url" content="https://hellenicdev.github.io/budget-tracker/">
<meta property="og:type" content="website">
<html lang="en">
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-9FWQFZME3Z');
</script>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Budget Tracker</title>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<link rel="stylesheet" href="style.css" />
</head>
<body style="display:flex; flex-direction:column; min-height:100vh; margin:0;">
<a href="/">
<img src="https://hellenicdev.github.io/logo.webp" alt="Logo" class="site-logo">
</a>
<style>
.site-logo {
position: fixed; /* stays visible at all times */
top: 10px;
left: 10px;
width: 60px; /* adjust size */
height: auto;
z-index: 9999; /* stays above everything */
}
</style>
<!-- Authentication Card -->
<div id="auth-card">
<div class="card">
<h2 id="form-title">Login</h2>
<form id="auth-form">
<input type="text" id="username" placeholder="Username" required />
<input type="password" id="password" placeholder="Password" required />
<button type="submit">Login</button>
</form>
<div id="alert" class="alert hidden"></div>
</div>
</div>
<!-- Dashboard -->
<div id="dashboard" class="hidden">
<h2>Welcome, <span id="user-display"></span></h2>
<button onclick="logout()">Logout</button>
<div>
<h3>Transactions</h3>
<input type="number" id="transaction-amount" placeholder="Amount" />
<input type="text" id="transaction-category" placeholder="Category" />
<button id="add-transaction">Add Transaction</button>
<div id="transaction-list"></div>
</div>
<!-- Budget Chart -->
<canvas id="budgetChart"></canvas>
</div>
<script src="app.js"></script>
</body>
<footer style="position: fixed; bottom: 0; left: 0; width: 100%; z-index: 9999; text-align: center; font-size: 14px; color: gray; background: white;
">
© 2025-2026 HellenicDev — All projects and content belong to HellenicDev.
</footer>
</html>