This is a simple todo list app built using React. It allows users to add, remove, and mark tasks as completed.
- Make sure you have Node.js installed on your machine.
- Clone this repository.
- Navigate to the project directory in your terminal.
- Run
npm installto install dependencies. - Run
npm startto start the development server.
- Add new tasks.
- Mark tasks as completed.
- Delete tasks.
- Filter tasks by completed status.
. ├── public │ ├── index.html │ └── ... └── src ├── components │ ├── TodoForm.js │ ├── TodoList.js │ └── TodoItem.js ├── App.js ├── index.js └── ...
- App: Main component containing the state and logic for managing tasks.
- TodoForm: Component for adding new tasks.
- TodoList: Component for displaying the list of tasks.
- TodoItem: Component representing an individual task.
tasks: An array containing task objects with properties likeid,text, andcompleted.
- Enter task text in the input field and press enter or click "Add" to add a new task.
- Click on a task to mark it as completed.
- Click on the delete icon to remove a task.
- Use the filter options to filter tasks by completed status.
- React
- HTML
- CSS
- Vercel