cute-task-tracker / index.html
iProsto's picture
Create a todo list site. Minimalistic, easy to use and user-friendly, cute. Opportunities: add a new task, remove any task, mark as done, mark as undone. Use localstorage for tasks. Sort undone tasks to the top of the list
8104128 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Cute Task Tracker</title>
<link rel="stylesheet" href="style.css">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
</head>
<body class="bg-pink-50 min-h-screen font-sans">
<div class="container mx-auto px-4 py-8 max-w-md">
<header class="text-center mb-10">
<h1 class="text-3xl font-bold text-pink-600 mb-2">Cute Task Tracker 🌈</h1>
<p class="text-pink-400">Your adorable companion for getting things done!</p>
</header>
<main>
<div class="bg-white rounded-2xl shadow-lg p-6 mb-6">
<form id="task-form" class="flex gap-2">
<input
type="text"
id="new-task"
placeholder="Add a new task..."
class="flex-grow px-4 py-3 rounded-xl border border-pink-200 focus:outline-none focus:ring-2 focus:ring-pink-300"
required
>
<button
type="submit"
class="bg-pink-500 hover:bg-pink-600 text-white px-5 py-3 rounded-xl transition duration-200 flex items-center"
>
<i data-feather="plus" class="w-5 h-5"></i>
</button>
</form>
</div>
<div class="bg-white rounded-2xl shadow-lg overflow-hidden">
<ul id="task-list" class="divide-y divide-pink-100">
<!-- Tasks will be added here dynamically -->
</ul>
<div id="empty-state" class="text-center py-12 hidden">
<div class="mb-4">
<i data-feather="check-circle" class="w-16 h-16 text-pink-300 mx-auto"></i>
</div>
<h3 class="text-xl font-semibold text-pink-500 mb-2">All caught up!</h3>
<p class="text-pink-400">You have no pending tasks. Great job! πŸŽ‰</p>
</div>
</div>
</main>
<footer class="mt-12 text-center text-pink-400 text-sm">
<p>Made with ❀️ | Your tasks are saved locally</p>
</footer>
</div>
<script src="script.js"></script>
<script>
feather.replace();
</script>
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
</body>
</html>