This project is a simple to-do list web application built with React. The app allows users to add tasks to a list and view them dynamically. It demonstrates fundamental React concepts, including state management with the useState hook, event handling, and dynamic rendering of list items.
- Add Tasks: Users can add tasks to the to-do list by typing in the input field and clicking the "Add" button.
- View Tasks: The tasks are displayed in a list below the input field.
- Clear Input Field: The input field is automatically cleared after a task is added.
Ensure you have the following installed:
- Node.js
- npm (Node Package Manager)
- Clone the repository:
git clone https://github.com/your-username/todo-list-app.git
- Navigate to the project directory:
cd todo-list-app - Install the required dependencies:
npm install
- Start the server:
npm run dev