Skip to content

Latest commit

Β 

History

History
88 lines (58 loc) Β· 1.37 KB

File metadata and controls

88 lines (58 loc) Β· 1.37 KB

πŸ“ React Todo App

A simple and beginner-friendly Todo List application built using React. This app allows users to manage daily tasks efficiently by adding, viewing, and removing todo items.


πŸš€ Features

  • βœ… Add new todo items
  • πŸ“… Assign due dates to tasks
  • πŸ—‘οΈ Delete tasks
  • πŸ”„ Dynamic UI updates using React state
  • ⚑ Fast and responsive interface

πŸ› οΈ Tech Stack

  • React (JSX)
  • JavaScript (ES6)
  • CSS
  • Vite / Create React App (depending on your setup)

🧠 How It Works

  • The app initializes with a default list of todos (initialtodoItems).

  • React's useState hook is used to manage the todo list dynamically.

  • Each todo contains:

    • name β†’ Task description
    • dueDate β†’ Deadline

Example:

const initialtodoItems = [
  { name: "Buy Milk", dueDate: "4/10/2023" },
];
  • The state is updated using:
setTodoItems(newTodoList);

▢️ Getting Started

1. Clone the repository

git clone <your-repo-link>

2. Install dependencies

npm install

3. Run the app

npm run dev

🌱 Future Improvements

  • ✏️ Edit existing todos
  • πŸ’Ύ Save todos in local storage
  • πŸ” Search & filter tasks
  • 🎨 Improve UI with animations

πŸ™Œ Description ~

Built as a beginner React project to understand:

  • Components
  • Props
  • State management