This project is part of the Codevixens Frontend Development Challenge (Day 7). A simple to-do list application built using React. It demonstrates how to manage state, handle events, and render lists dynamically.
- State Management: Uses React's
useStatehook to manage the input value, the list of to-do items, and the status of each item. - Event Handling: Handles the button click event to add new to-do items, and events for marking items as completed, editing items, and deleting items.
- List Rendering: Dynamically renders the list of to-do items using the
mapfunction. - User Interface: Provides a form for adding new to-do items, a list to display the items, and buttons for marking items as completed and deleting them.
- Styling: Uses CSS to style the application for a visually appealing look.
- Clone the repository:
git clone https://github.com/gideonagyage/To-Do-List-App.git- Navigate to the project directory:
cd To-Do-List-App- Install dependencies:
npm install- Start the development server:
npm start- Open your browser and navigate to
http://localhost:3000.The TodoListApp component is the main component that handles the following:
- Input Handling: Manages the user's input for new to-do items.
- State Updates: Updates the state with the new to-do item, the status of each item, and the list of items.
- Event Handling: Handles the button click event to add new to-do items, and events for marking items as completed and deleting items.
- List Rendering: Renders the list of to-do items dynamically using the
mapfunction. - UI Rendering: Renders the input field, button, to-do list, and buttons for marking items as completed and deleting them.
- Before Adding Task
- After Adding Task
- Completing Task
Check out the live demo here.
- State Management: Managing the data and UI state of the React application.
- Event Handling: Responding to user interactions with the application.
- List Rendering: Dynamically rendering lists of data in the React application.
Feel free to fork this repository and submit pull requests. Any contributions are welcome!
This project is licensed under the MIT License.
- Codevixens for organizing the challenge.
- Chinaza Igboanugo, Lois Bassey, and Oyinkansola Shoroye for their contributions and guidance.
Feel free to customize it further to fit your needs! If you have any specific details you'd like to add or change, let me know.


