-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
87 lines (81 loc) · 3.83 KB
/
Copy pathindex.html
File metadata and controls
87 lines (81 loc) · 3.83 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Simple Todo App</title>
<link rel="stylesheet" href="simple-style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet">
</head>
<body>
<div class="container">
<header class="header">
<h1><i class="fas fa-check-circle"></i> Simple Todo App</h1>
<p class="subtitle">A clean, functional todo app that just works</p>
</header>
<main class="main">
<!-- Add Todo Section -->
<section class="add-todo">
<div class="input-group">
<input type="text" id="todo-input" placeholder="What needs to be done?" autocomplete="off">
<div class="priority-selector">
<label>Priority:</label>
<div class="priority-buttons">
<button class="priority-btn low active" data-priority="low">Low</button>
<button class="priority-btn medium" data-priority="medium">Medium</button>
<button class="priority-btn high" data-priority="high">High</button>
</div>
</div>
<button id="add-btn" class="add-btn">
<i class="fas fa-plus"></i> Add Todo
</button>
</div>
</section>
<!-- Todo List Section -->
<section class="todo-list-section">
<div class="filter-controls">
<button class="filter-btn active" data-filter="all">All</button>
<button class="filter-btn" data-filter="active">Active</button>
<button class="filter-btn" data-filter="completed">Completed</button>
</div>
<div class="todo-list" id="todo-list">
<!-- Todos will be loaded here -->
<div class="empty-state">
<i class="fas fa-clipboard-list"></i>
<h3>No todos yet</h3>
<p>Add your first todo to get started!</p>
</div>
</div>
<!-- Stats -->
<div class="stats">
<div class="stat-item">
<span class="stat-label">Total:</span>
<span class="stat-value" id="total-count">0</span>
</div>
<div class="stat-item">
<span class="stat-label">Completed:</span>
<span class="stat-value" id="completed-count">0</span>
</div>
<div class="stat-item">
<span class="stat-label">Progress:</span>
<span class="stat-value" id="progress-percent">0%</span>
</div>
</div>
</section>
</main>
<footer class="footer">
<p>Simple Todo App • Data stored in your browser • No database required</p>
<div class="footer-actions">
<button id="clear-completed" class="footer-btn">
<i class="fas fa-check-double"></i> Clear Completed
</button>
<button id="clear-all" class="footer-btn danger">
<i class="fas fa-trash"></i> Clear All
</button>
</div>
</footer>
</div>
<script src="simple-app.js"></script>
</body>
</html>