This project is a simple React-based To-Do application where users can:
- Add tasks to a to-do list.
- Mark tasks as complete.
- Delete tasks from the list.
- Add Tasks: Users can input a task and add it to the list.
- Mark Tasks Complete: Users can toggle tasks as complete/incomplete by clicking on the status icon.
- Delete Tasks: Users can remove tasks from the list using the delete icon.
- React: For building the UI.
- Tailwind CSS: For styling the components.
- JavaScript: Logic and functionality.
project-folder/
├── src/
│ ├── components/
│ │ ├── Todo.jsx
│ │ ├── Todoitems.jsx
│ ├── assets/
│ │ ├── blankicon.jpg
│ │ ├── doneicon.jpg
│ │ ├── deleteicon.jpg
│ ├── App.js
│ ├── index.js
├── public/
│ ├── index.html
├── package.json
├── README.md
-
Clone the repository:
git clone https://github.com/your-repo/todo-app.git cd todo-app -
Install dependencies:
npm install
-
Run the application:
npm start
-
Open your browser and navigate to
http://localhost:3000to view the application.
- The main component that handles the state of the to-do list and renders the UI for adding tasks.
- A sub-component for rendering individual tasks with functionalities to mark as complete or delete.
- Persistent Storage: Save tasks using
localStorageor a backend API. - Filter Options: Add functionality to filter tasks by complete/incomplete status.
- Animations: Use libraries like
Framer Motionfor smooth transitions.
- Icons from Icons8.
- Styling inspiration from Tailwind CSS documentation.