The To-Do List App is a simple web application that allows you to create and manage a list of tasks or to-do items. It provides a user-friendly interface for adding new tasks, marking tasks as completed, and removing tasks from the list.
-
Add a new task: Enter a task description in the input field and click the "Add" button to add the task to the list.
-
Mark task as completed: Click on a task to toggle its completion status. Completed tasks are displayed with a strikethrough effect.
-
Remove task: Click the "Remove" button next to a task to remove it from the list. A confirmation modal will be displayed before the task is permanently deleted.
-
Dark mode toggle: Click the Dark mode toggle for a more comfortable viewing experience.
- React
- HTML, CSS
To run this application locally, follow these steps:
- Clone this repository to your local machine: git clone https://github.com/canturktezer/todo-react.git
- Navigate to the project directory: cd todo-react
- Install the required dependencies: npm install
- Start the development server: npm start
- Open your browser and access the application at http://localhost:3000.
-
To add a new task, enter the task description in the input field and click the "Add" button.
-
To mark a task as completed, click the checkmark button next to the task.
-
To remove a task, click the "X" button, and a confirmation modal will appear to confirm your action.
-
You can toggle dark mode by clicking the sun/moon icon in the upper right corner.