Skip to content

Commit 3b07bf1

Browse files
Add to-do app HTML structure
1 parent a44e4a9 commit 3b07bf1

1 file changed

Lines changed: 43 additions & 0 deletions

File tree

todo-app/index.html

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>To-Do List Application</title>
7+
<link rel="stylesheet" href="styles.css">
8+
</head>
9+
<body>
10+
<div class="container">
11+
<header>
12+
<h1>My To-Do List</h1>
13+
<p class="subtitle">Stay organized and productive</p>
14+
</header>
15+
16+
<div class="input-section">
17+
<input
18+
type="text"
19+
id="todoInput"
20+
class="todo-input"
21+
placeholder="Add a new task..."
22+
autocomplete="off"
23+
>
24+
<button id="addBtn" class="add-btn">Add Task</button>
25+
</div>
26+
27+
<div class="filter-section">
28+
<button class="filter-btn active" data-filter="all">All</button>
29+
<button class="filter-btn" data-filter="active">Active</button>
30+
<button class="filter-btn" data-filter="completed">Completed</button>
31+
</div>
32+
33+
<ul id="todoList" class="todo-list"></ul>
34+
35+
<div class="stats-section">
36+
<span id="taskCount" class="stat">0 tasks</span>
37+
<button id="clearBtn" class="clear-btn">Clear Completed</button>
38+
</div>
39+
</div>
40+
41+
<script src="app.js"></script>
42+
</body>
43+
</html>

0 commit comments

Comments
 (0)