yogeshtakeo / task_BFD30

Task repo for BFD30
0 stars 0 forks source link

Task 14 : Todo without fetching #6

Open yogeshtakeo opened 1 year ago

yogeshtakeo commented 1 year ago

Task: Create a Todo List Application

Objective: Build a simple todo list application using React to manage tasks.

Task Overview

Task Details

  1. Project Setup:

    • Set up a new React project using a tool of your choice.
    • Create a new component called TodoList to manage the todo list.
  2. Render a List of Tasks:

    • Create a state variable to store the list of tasks (an array of objects with properties like id, title, completed, etc.).
    • Render the list of tasks in the TodoList component using JSX and the array's map method.
  3. Add New Tasks:

    • Create a form in the TodoList component to add new tasks.
    • Implement an input field for entering task titles and a submit button.
    • Handle the form submission event to add the new task to the list of tasks.
  4. Edit Tasks:

    • Implement functionality to edit tasks in the todo list.
    • Add an edit button or an inline editing feature for each task.
    • When the user clicks the edit button or triggers the inline editing, allow them to modify the task title.
    • Update the corresponding task in the list of tasks when the editing is completed.
  5. Delete Tasks:

    • Implement functionality to delete tasks from the todo list.
    • Add a delete button for each task in the list.
    • Handle the delete button click event to remove the task from the list of tasks.
  6. Style the Application:

    • Apply styles to the todo list application using native CSS or a CSS framework of your choice.
    • Design a clean and user-friendly interface for adding, editing, and deleting tasks.
    • Make the application visually appealing and responsive.
  7. Test and Refine:

    • Start the development server and run the React project.
    • Verify that tasks can be added, edited, and deleted successfully.
    • Test different scenarios, such as adding multiple tasks, editing existing tasks, and deleting tasks, to ensure the functionality works as expected.

Task Submission

Take a screenshot of the web browser displaying the rendered React component . Share the screenshot Optionally, submit the code files (App.js and any other relevant files) for review with the GitHub Repository.

KabinaThapa commented 1 year ago

https://github.com/yogeshtakeo/task_BFD30/tree/kabinathapa/todo-list-without-fetching

Image Image Image Image Image Image Image

ashmaupret100 commented 1 year ago

Name: Ashma Upreti GitHub URL: https://github.com/yogeshtakeo/task_BFD30.git

Image

Image

Image

Image

sandessth commented 1 year ago

Name: Sandesh Shrestha Git URL: https://github.com/yogeshtakeo/task_BFD30/tree/Sandesh/todo-without-fetch task 14 fp

task 14 codes

task 14 git

Namsla commented 1 year ago

Namkhang Tsamchoe git URL: https://github.com/yogeshtakeo/task_BFD30.git

Screen Shot 2023-06-24 at 4 10 46 AM Screen Shot 2023-06-24 at 4 09 43 AM Screen Shot 2023-06-24 at 3 57 01 AM