-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
77 lines (72 loc) · 2.48 KB
/
index.html
File metadata and controls
77 lines (72 loc) · 2.48 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
<!doctype html>
<html lang="tr">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Study Tracker</title>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<div class="app">
<header class="app__header">
<div>
<h1>Study Tracker</h1>
<p>Günlük çalışma saatlerini takip et, haftalık ilerlemeyi gör.</p>
</div>
<button id="resetBtn" class="button button--ghost">Tüm Verileri Sıfırla</button>
</header>
<section class="grid">
<div class="card">
<h2>Günlük Kayıt</h2>
<form id="entryForm" class="form">
<label>
Tarih
<input type="date" id="entryDate" required />
</label>
<label>
Saat
<input type="number" id="entryHours" min="0" max="24" step="0.25" placeholder="2.5" required />
</label>
<button type="submit" class="button">Kaydet</button>
</form>
<div class="stat">
<span>Bugün</span>
<strong id="todayHours">0 saat</strong>
</div>
<div class="stat">
<span>Bu Hafta Toplam</span>
<strong id="weekTotal">0 saat</strong>
</div>
</div>
<div class="card">
<h2>Haftalık Grafik</h2>
<div class="chart" id="chart"></div>
<div class="chart__legend" id="chartLegend"></div>
</div>
<div class="card">
<h2>Hedef</h2>
<form id="goalForm" class="form form--row">
<input type="number" id="goalHours" min="1" max="168" step="1" placeholder="Haftalık hedef (saat)" required />
<button type="submit" class="button">Hedefi Kaydet</button>
</form>
<div class="goal">
<div class="goal__progress">
<div id="goalBar" class="goal__bar"></div>
</div>
<div class="goal__meta">
<span id="goalText">Hedef: 0 saat</span>
<span id="goalPercent">%0</span>
</div>
</div>
<div class="hint" id="goalHint">Hedef koymak için saat değerini gir.</div>
</div>
<div class="card">
<h2>Notlar</h2>
<textarea id="notes" rows="6" placeholder="Bugünkü çalışma notların..."></textarea>
<div class="hint">Notlar otomatik kaydedilir.</div>
</div>
</section>
</div>
<script src="app.js"></script>
</body>
</html>