iTask is a simple, intuitive, and efficient to-do list manager built using React. It allows users to create, edit, delete, and mark tasks as completed. With a sleek user interface and local storage support, iTask helps you manage your tasks effortlessly in one place.
- Add To-Do: Easily add new tasks to your list with an intuitive input box.
- Edit To-Do: Update any task using the edit button.
- Delete To-Do: Remove tasks that are no longer needed.
- Mark as Completed: Check or uncheck tasks to mark them as completed or pending.
- Show Finished: Filter between completed and pending tasks by toggling the "Show Finished" checkbox.
- Persistent Storage: Uses local storage to save tasks even after refreshing the browser.
- React: Front-end JavaScript library for building the user interface.
- React Icons: For using icons such as edit and delete.
- Tailwind CSS: For styling and layout.
To run this project locally:
-
Clone the repository:
git clone https://github.com/evitabarboza/To-Do-List.git
-
Navigate to the project directory:
cd To-Do-List
-
Install dependencies:
npm install
-
Start the application:
npm run dev
The app will run locally on http://localhost:5173
.
- Adding a To-Do: Enter a task in the input field and click "Save" to add the task to your to-do list.
- Editing a To-Do: Click the edit button next to any task to edit it. The task will reappear in the input field, allowing you to modify it.
- Deleting a To-Do: Click the delete button to remove any task from the list.
- Marking a Task as Completed: Click the checkbox next to a task to mark it as completed or pending.
- Showing Completed Tasks: Check the "Show Finished" checkbox to display only completed tasks. Uncheck it to view pending tasks.
/src
/components
Navbar.js // Navigation bar component
App.js // Main component for managing the application
index.js // Entry point for the React app
The app saves the tasks in the browser’s local storage, allowing users to preserve their tasks even after closing or refreshing the browser. Tasks are loaded from local storage when the app is started.
This project is licensed under the MIT License. You can find a copy of the license here.
Contributions are welcome! If you would like to contribute to this project, please follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature-branch
. - Make your changes and commit them:
git commit -m 'Add some feature'
. - Push to the branch:
git push origin feature-branch
. - Open a pull request.
Please make sure to update tests as appropriate.
For any inquiries, suggestions, or feedback, please contact me at:
- Email: [email protected]
- GitHub: Evita Barboza