Welcome to the To-Do List Web Application! This project is a modern, feature-rich to-do list application designed to help you efficiently manage tasks. Built with HTML, CSS, and JavaScript, it features dynamic background switching, real-time updates, and a visually appealing user interface.
- 🎨 Dynamic Background Switching: Change the background image periodically or manually with a button click.
- ⏰ Real-Time Date & Time Display: Shows the current date and time, updated every minute.
- ✅ Task Management: Add, edit, delete, and toggle task completion status.
- 📊 Task Statistics: Visual representation of task completion progress with a progress bar.
- 📱 Responsive Design: Optimized for various screen sizes and devices.
- 💾 Local Storage: Tasks are saved in the browser’s local storage, ensuring data persistence across sessions.
To get started with the To-Do List Web Application, follow these steps:
git clone https://github.com/your-username/To-do-list-web-app.git
cd To-do-list-web-app
Ensure you have the latest version of Node.js installed. While this project doesn’t require a server, you can use tools like Live Server
for local development.
You can open the index.html
file directly in your browser or use a local server:
- Using Live Server Extension (for VS Code):
- Right-click on
index.html
in your project folder. - Select
Open with Live Server
.
- Right-click on
- Date & Time Display: Located at the top of the page, shows the current date and time.
- Background Switcher: A button below the date/time display allows you to change the background image.
- Task Input: Enter new tasks into the input field and click the "Add Task" button.
- Task List: Displays tasks with checkboxes to mark them as complete. Each task has options to edit or delete.
- Progress Bar: Visual indicator of task completion progress.
- Task Statistics: Shows the number of completed tasks out of the total.
- Enter the task description in the input field.
- Click the "Add Task" button to add the task to the list.
- Click the edit icon ✍️ next to the task you want to modify.
- The task description will appear in the input field. Modify the text and press Enter to update.
- Click the delete icon ❌ next to the task you want to remove.
- The task will be deleted from the list.
- Click the checkbox ✅ next to a task to mark it as complete or incomplete.
- Click the "Change Background" button to cycle through predefined background images.
- The background will also automatically change every 60 seconds.
index.html
: The main HTML file containing the structure of the application.styles.css
: Contains all the styling for the application, including layout, colors, and responsiveness.script.js
: Handles all the JavaScript functionality, including task management, date/time updates, background switching, and local storage.
You can easily customize the application by modifying:
- Background Images: Add or replace images in the
img
folder and update thebackgrounds
array inscript.js
. - CSS Styling: Adjust colors, fonts, and layout in
styles.css
to fit your design preferences. - Task Functionality: Modify the JavaScript code in
script.js
to add new features or change existing ones.
Contributions are welcome! If you’d like to contribute to this project, please fork the repository, make your changes, and submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
For any questions or feedback, please reach out to [email protected].