This is a simple ToDo list application that allows users to manage their tasks by adding, sorting, and marking tasks as done.
- Add tasks to the ToDo list.
- Set priority for tasks (e.g., high, medium, low).
- Sort tasks by description, priority, and status.
- Reset the list to its default state.
- Clear the list of tasks.
- Mark tasks as complete.
- Clone the repository:
git clone https://github.com/syedaCodes/todo.git
- Navigate to the project directory:
cd todo
- Install dependencies:
npm install
- Start the development server:
npm run dev
- Open your browser and go to
http://localhost:3000
to access the app.
-
Add a Task:
- Enter a task description in the input field.
- Set the priority using the priority selector.
- Click the "Add Task" button.
-
Sort Tasks:
- Click on the "Sort By" dropdown to choose a sorting option (description, priority, or status).
- The tasks will be sorted accordingly.
-
Mark Tasks as Complete:
- Click the checkbox next to a task to mark it as done.
-
Clear Tasks:
- Click the "Clear Tasks" button to clear all tasks from the list.
- React: Frontend library for building user interfaces.
- CSS: Styling the application components.
Contributions are welcome! If you find any bugs or want to add new features, feel free to submit a pull request.