File size: 2,717 Bytes
8104128
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!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>