zkt25/ z2/app/index.html

31 lines
1.5 KiB
HTML

<!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="style.css"> <!-- Link to the external CSS file for styling -->
</head>
<body>
<div class="app-container"> <!-- Main container for the app -->
<h1>What should i do list (Reminder)</h1> <!-- Main title of the application -->
<p class="subtitle">What needs to be done today</p> <!-- Description under the title -->
<form id="task-form"> <!-- Form for adding new tasks -->
<input type="text" id="task-input" placeholder="Enter a new task"> <!-- Input field for new tasks -->
<button type="submit">Add</button> <!-- Button to add the new task -->
</form>
<div class="filter-buttons"> <!-- Container for filter buttons -->
<button class="filter active" data-filter="all">All</button> <!-- Button to show all tasks -->
<button class="filter" data-filter="active">Active</button> <!-- Button to show active tasks -->
<button class="filter" data-filter="completed">Completed</button> <!-- Button to show completed tasks -->
</div>
<ul id="task-list"></ul> <!-- Unordered list to display tasks -->
</div>
<script src="script.js"></script> <!-- Link to the external JavaScript file for functionality -->
</body>
</html>