A beautiful, feature-rich to-do list application with AI-powered task planning, progress tracking, and celebration animations.
- ✅ Add Tasks: Create main tasks with a simple text input
- ✅ Add Subtasks: Add smaller, related subtasks under any main task
- 🪄 AI Planning: Get AI-generated subtasks for any main task using Azure AI
- ✅ Edit Tasks: Click on any task or subtask title to edit it inline
- ✅ Mark Complete: Check/uncheck boxes to mark tasks and subtasks as complete
- 🎊 Confetti Celebration: Enjoy a burst of confetti when completing tasks!
- 📊 Progress Tracking: See completion percentage for tasks with subtasks
- ✅ Delete Tasks: Remove unwanted tasks and subtasks with the delete button (✕)
- ✅ Persistent Storage: All changes are automatically saved to localStorage
- 🌙 Dark/Light Theme: Toggle between beautiful light and dark themes
- 🎨 Beautiful Design: Aesthetic background with smooth animations
- ✅ Responsive Design: Works perfectly on desktop and mobile devices
- ⚙️ AI Settings: Secure configuration for Azure AI integration
- Celebrates task completion with a beautiful 2-second confetti burst
- Triggers when marking any task or subtask as complete
- Colorful, random confetti pieces with smooth falling animation
- Shows completion percentage for tasks that have subtasks
- Visual progress bar with smooth animations
- Real-time updates as you complete subtasks
- Format: "X/Y subtasks (Z%)"
- Beautiful dark and light theme options
- Smooth transitions between themes
- Persistent theme preference saved to localStorage
- Toggle button (🌙/☀️) positioned next to settings
- Aesthetic gradient background with subtle texture overlay
- Different backgrounds for light and dark themes
- Fixed background that doesn't scroll with content
The app includes an innovative AI feature that helps break down your main tasks into actionable subtasks:
- Setup: Click the Settings (⚙️) button to configure your Azure AI credentials
- Configure: Enter your Azure AI Foundry endpoint, API key, and model name
- Test: Use the "Test Connection" button to verify your setup
- Use: Click the purple "🪄 Plan for Me" button next to any main task
- Enjoy: Watch as AI automatically generates relevant subtasks for you!
- Azure AI Endpoint: Your Azure AI Foundry endpoint URL
- API Key: Your Azure AI API key
- Model Name: The deployment name (e.g., "gpt-4")
The AI credentials are stored securely in your browser's localStorage with basic encryption.
- Open the App: Open
index.htmlin your web browser - Choose Theme: Click the theme toggle (🌙/☀️) for your preferred appearance
- Configure AI (optional): Click Settings to set up AI integration
- Add a Task: Type in the text box and click "Add Task" or press Enter
- Get AI Help: Click "🪄 Plan for Me" to generate subtasks automatically
- Add Manual Subtasks: Click the "+ Subtask" button on any task
- Track Progress: Watch the progress bar fill as you complete subtasks
- Edit Tasks: Click on any task or subtask title to edit it
- Mark Complete: Click checkboxes to mark items complete and enjoy confetti! 🎊
- Delete Items: Click the red ✕ button to delete tasks or subtasks
ToDo/
├── index.html # Main HTML file
├── styles.css # CSS styling
├── script.js # JavaScript functionality
└── README.md # This file
- Storage: Uses localStorage for persistent data storage
- Responsive: Mobile-friendly design with CSS media queries
- Accessible: Proper semantic HTML and keyboard navigation
- Modern: Clean, gradient-based design with smooth animations
This app works in all modern browsers that support:
- localStorage
- ES6 JavaScript features
- CSS Flexbox and Grid
Simply open index.html in your web browser. No installation or server setup required!
Your tasks will be automatically saved and restored when you revisit the page.