A simple yet effective todo app built with React to help you stay organized and productive.
- Features
- Demo
- Technologies Used
- Getting Started
- Usage
- Project Structure
- Styling
- Contributing
- License
- Add Todos: Create new todos with a title and optional description.
- Mark as Complete: Easily toggle the completion status of each todo.
- Responsive Design: The app adapts to different screen sizes, ensuring a great user experience on desktops, tablets, and mobile devices.
[Link to your deployed app] (if applicable)
- React: Frontend library for building user interfaces.
- CSS: Custom styles for appearance and layout.
-
Clone the Repository:
git clone [https://github.com/ankitkr-04/todo.git](https://github.com/ankitkr-04/todo.git)
-
Navigate to Project Directory:
Bash
cd todo
-
Install Dependencies:
Bash
npm install
-
Start Development Server:
Bash
npm run dev
Open your browser and visit
http://localhost:5173/
(or the specified port) to view the app.
-
Add Todo:
- Enter a title in the "Title" input field.
- (Optional) Enter a description in the "Description" text area.
- Click "Add Todo" or press Enter.
-
Toggle Completion: Click the "Incomplete" or "Completed" button on a todo item.
todo/
├── public/ # Public assets (index.html, favicon, etc.)
├── src/ # Source code
│ ├── components/ # Reusable components
│ │ ├── TodoCard.jsx
│ │ ├── TodoInput.jsx
│ │ └── TodoList.jsx
│ ├── App.jsx # Main app component
│ └── index.css # Stylesheet
├── .gitignore # Git ignore file
├── package.json # Project dependencies
├── README.md # This file
└── vite.config.js # Vite configuration (if using Vite)
- The project includes a custom CSS reset to remove default browser styles.
- Styling for the app is done using CSS in the
index.css
file.
Contributions are welcome! Please open an issue or submit a pull request.
This project is licensed under the MIT License.