-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
62 lines (57 loc) · 2.09 KB
/
index.html
File metadata and controls
62 lines (57 loc) · 2.09 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>To-Do List</title>
<link rel="stylesheet" href="css/reset.css">
<link rel="stylesheet" href="css/variables.css">
<link rel="stylesheet" href="css/styles.css">
</head>
<body>
<div class="container">
<header>
<h1>✨ My Tasks</h1>
<p class="subtitle">Stay organized, stay productive</p>
</header>
<main>
<form id="task-form" class="task-form">
<input
type="text"
id="task-input"
class="task-input"
placeholder="What needs to be done?"
required
>
<button type="submit" class="add-button">Add</button>
</form>
<div class="section">
<h2 class="section-title">Active Tasks</h2>
<ul id="task-list" class="task-list">
<!-- Active tasks will be rendered here -->
</ul>
</div>
<div id="completed-section" class="section completed-section">
<div class="section-header">
<h2 class="section-title">Completed Tasks</h2>
<button id="toggle-completed" class="toggle-button" title="Show/Hide completed tasks">
<span id="toggle-icon">▼</span>
</button>
</div>
<ul id="completed-list" class="task-list">
<!-- Completed tasks will be rendered here -->
</ul>
</div>
<div class="actions">
<button id="clear-all-button" class="clear-all-button" title="Delete all tasks">
Clear All
</button>
</div>
</main>
</div>
<script src="js/storage.js"></script>
<script src="js/taskManager.js"></script>
<script src="js/ui.js"></script>
<script src="js/app.js"></script>
</body>
</html>