-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
124 lines (112 loc) · 4.41 KB
/
index.html
File metadata and controls
124 lines (112 loc) · 4.41 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TaskFlow - Smart To-Do</title>
<link rel="stylesheet" href="style.css">
<link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap" rel="stylesheet">
</head>
<body>
<div class="app-wrapper">
<div class="background-shapes">
<div class="shape shape-1"></div>
<div class="shape shape-2"></div>
<div class="shape shape-3"></div>
</div>
<div class="container">
<header>
<div class="header-content">
<div class="logo">
<div class="logo-icon">✦</div>
<div>
<h1>TaskFlow</h1>
<p class="tagline">Organize your day beautifully</p>
</div>
</div>
<button id="themeToggle" class="theme-toggle" aria-label="Toggle theme">
<span class="toggle-track">
<span class="toggle-thumb"></span>
</span>
<span class="sun-icon">☀️</span>
<span class="moon-icon">🌙</span>
</button>
</div>
</header>
<div class="search-container">
<div class="search-icon">🔍</div>
<input type="text" id="searchInput" placeholder="Search your tasks...">
</div>
<form id="todoForm" class="todo-form">
<div class="input-wrapper">
<input type="text" id="todoInput" placeholder="What's on your mind?" required>
<button type="submit" class="add-btn">
<span>+</span>
</button>
</div>
<div class="form-options">
<div class="option-group">
<label>📅</label>
<input type="date" id="dueDate">
</div>
<div class="option-group">
<label>📁</label>
<select id="category">
<option value="">Category</option>
<option value="work">Work</option>
<option value="personal">Personal</option>
<option value="shopping">Shopping</option>
<option value="health">Health</option>
</select>
</div>
<div class="option-group priority-options">
<button type="button" class="priority-btn low active" data-priority="low" title="Low">
<span class="priority-dot"></span>
</button>
<button type="button" class="priority-btn medium" data-priority="medium" title="Medium">
<span class="priority-dot"></span>
</button>
<button type="button" class="priority-btn high" data-priority="high" title="High">
<span class="priority-dot"></span>
</button>
</div>
</div>
</form>
<div class="filters-wrapper">
<div class="status-tabs">
<button class="tab-btn active" data-status="all">
All <span class="tab-count" id="allCount">0</span>
</button>
<button class="tab-btn" data-status="active">
Active <span class="tab-count" id="activeCount">0</span>
</button>
<button class="tab-btn" data-status="completed">
Done <span class="tab-count" id="completedCount">0</span>
</button>
</div>
<div class="category-chips">
<button class="chip active" data-filter="all">All</button>
<button class="chip" data-filter="work">💼 Work</button>
<button class="chip" data-filter="personal">🏠 Personal</button>
<button class="chip" data-filter="shopping">🛒 Shopping</button>
<button class="chip" data-filter="health">💪 Health</button>
</div>
</div>
<div class="progress-section">
<div class="progress-info">
<span id="progressText">0 of 0 completed</span>
<span id="progressPercent">0%</span>
</div>
<div class="progress-bar">
<div class="progress-fill" id="progressFill"></div>
</div>
</div>
<ul id="todoList" class="todo-list"></ul>
<footer>
<p>✨ Your tasks are saved automatically</p>
</footer>
</div>
</div>
<script src="script.js"></script>
</body>
</html>