-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
69 lines (62 loc) · 2.42 KB
/
index.html
File metadata and controls
69 lines (62 loc) · 2.42 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
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TaskMaster - Gestiona tus tareas</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="container">
<header>
<h1>✨TaskMaster</h1>
<p class="subtitle">Organiza tu día con estilo</p>
</header>
<div class="input-section">
<input
type="text"
id="taskInput"
placeholder="¿Qué Haremos hoy?"
autocomplete="off"
>
<button id="addBtn" class="btn-primary">
<span>Agendar</span>
</button>
</div>
<div class="filters">
<button class="filter-btn active" data-filter="all">Todas</button>
<button class="filter-btn" data-filter="pending">Pendientes</button>
<button class="filter-btn" data-filter="completed">Completadas</button>
</div>
<div class="stats">
<div class="stat-item">
<span class="stat-number" id="totalTasks">0</span>
<span class="stat-label">Total</span>
</div>
<div class="stat-item">
<span class="stat-number" id="pendingTasks">0</span>
<span class="stat-label">Pendientes</span>
</div>
<div class="stat-item">
<span class="stat-number" id="completedTasks">0</span>
<span class="stat-label">Completadas</span>
</div>
</div>
<ul id="taskList" class="task-list"></ul>
<div class="empty-state" id="emptyState">
<svg width="120" height="120" viewBox="0 0 120 120" fill="none">
<circle cx="60" cy="60" r="50" stroke="#e0e0e0" stroke-width="4"/>
<path d="M40 60L55 75L80 45" stroke="#e0e0e0" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
<p>No hay tareas aún</p>
<span>¡Comienza agregando una nueva tarea!</span>
</div>
<!-- Toast de deshacer eliminación -->
<div id="toast" class="toast" role="status" aria-live="polite" hidden>
<span id="toastMessage"></span>
<button id="undoBtn" class="btn-undo">Deshacer</button>
</div>
</div>
<script src="app.js"></script>
</body>
</html>