A modern and interactive Todo Application built using React.js.
This app helps users manage daily tasks efficiently with features like adding, editing, deleting tasks, and storing data in localStorage for persistence.
The application focuses on clean UI, reusable components, and efficient state management using Context API.
- ➕ Add Tasks – Easily add new tasks
- ✏️ Edit Tasks – Update existing tasks anytime
- ❌ Delete Tasks – Remove completed or unwanted tasks
- 💾 Persistent Storage – Data saved in localStorage
- ⚡ Dynamic UI Updates – Real-time interaction with state changes
- ♻ Reusable Components – Modular and scalable structure
- React.js – Frontend library
- JavaScript (ES6+) – Application logic
- Context API – Global state management
- HTML5 & Tailwind CSS – UI structure and styling
- localStorage – Data persistence
This project demonstrates important React concepts:
- React Hooks (useState)
- Context API
- Component-based architecture
- Event handling
- State management
- Dynamic rendering
## 📂 Project Structure
src/
├── components/
│ ├── TodoForm.jsx # Handles adding new tasks
│ ├── TodoItem.jsx # Displays individual tasks
│ └── index.js # Exports all components
├── context/
│ ├── TodoContext.js # Global state management
│ └── index.js # Exports context
├── App.jsx # Main application component
└── main.jsx # Entry point git clone https://github.com/Pankaj2299/react-todo-app.gitcd react-todo-appnpm installnpm run devhttp://localhost:5173
- Open the application in your browser
- Add a new task using the input field
- Edit tasks anytime using the edit option
- Delete tasks when completed
- Tasks will be automatically saved in localStorage
- Refresh the page — your data will still be there
Pankaj Kumar
📧 Email: Pankajkumar199922@gmail.com
🔗 GitHub: https://github.com/Pankaj2299
🔗 LinkedIn: https://www.linkedin.com/in/pankaj-kumar-4b3276266
If you like this project, please consider starring ⭐ the repository.
It helps others discover the project and motivates further development.