A dynamic To Do List application built with React that allows users to manage their tasks with persistent storage.
- Add new tasks to your list
- Mark tasks as complete/incomplete
- Delete completed tasks
- Automatic saving to localStorage
- Responsive design
- Enter a task in the input field
- Click "Add" or press Enter to add the task
- Check the checkbox to mark a task as complete
- Click "Delete" to remove completed tasks
App.jsx
: Main component, handles state management and localStorageNewToDoForm.jsx
: Form component for adding new tasksToDoList.jsx
: Component for rendering the list of tasksToDoItem.jsx
: Individual task componentstyles.css
: Global styles for the application
- React 18
- Vite (for build tooling and development server)
- localStorage API for data persistence
- CSS for styling
- JavaScript ES6+
- npm for package management
This project uses Vite for fast development with HMR (Hot Module Replacement) and React for the UI components. The state management is handled through React's useState and useEffect hooks.
To run the project locally:
npm install
npm run dev