A simple and elegant Todo application built with React that helps you manage your daily tasks efficiently.
- β¨ Add Tasks - Quickly add new todos to your list
- β Mark Complete - Toggle task completion status
- βοΈ Edit Tasks - Update existing todos
- ποΈ Delete Tasks - Remove tasks you no longer need
- π― Real-time Updates - Instant UI updates
- π± Responsive Design - Works on all devices
- React - Frontend framework
- React Icons - Beautiful icons
- CSS3 - Styling
- React Hooks - State management
- Clone the repository:
git clone https://github.com/your-username/react-todo-app.git- Navigate to the project directory:
cd react-todo-app- Install dependencies:
npm install- Start the development server:
npm start- Open http://localhost:3000 to view it in the browser.
- Adding a Todo: Type your task in the input field and click "ADD"
- Completing a Todo: Click the checkmark icon to mark as complete
- Editing a Todo: Click the edit icon to modify an existing task
- Deleting a Todo: Click the delete icon to remove a task
src/
βββ Todo.jsx # Main Todo component
βββ Todo.css # Styling for the Todo component
βββ ...
- useState Hook: Manages todo list state and form inputs
- useEffect Hook: Handles input focus management
- useRef Hook: Direct DOM access for input focusing
- Array Methods: Uses map, filter for state updates
Feel free to fork this project and submit pull requests for any improvements.
This project is open source and available under the MIT License.