Skip to content

Build a To Do App with React #1313

@Dufuna-Fem

Description

@Dufuna-Fem

As a user, I want to see a To-Do app page so that I can create, edit and manage my to do items.

Success Criteria

Page look and feel

  1. Setup a new project with REACT
  2. Build a To do App following the attached design.
  3. Ensure that the attached mobile view design is how the user views this page when on mobile.

Creating To-do entries

  1. Given that a user enters the to-do entry in the create a new to do input field and then clicks on the + button, a new to-do entry with the inputted text should be added to the list of to-dos with the status Active (ie red checkbox)
  2. If the input field is empty, ensure the user cannot click the + button at all.

To-Do list Interaction

  1. Ensure the user can mark an entry as Done by clicking into the checkbox for the entry. Marking as Done here means (1) Changing the text colour from red to green (2) adding a strikethrough on the text for that entry (3) Changing the checkbox colour to green and adding a marked sign to it.

Filters

  1. Ensure that the number of Active entries is shown on the filter below as the xx items left

Don't

  1. Don't use Redux
  2. Use react state management system or custom hooks. Every method should be within the main component i.e App.js.
  3. Don't push package-lock.json, node_modules, App.test.js, setupTests.js, reportWebVitals.js as part of your PR
  4. Add the following to your .gitignore file :
    package-lock.json README.md /public/logo192.png /public/logo512.png /public/manifest.json /public/robots.txt

Mockups

1. Web View
Todo-Web

2. Mobile View
todo-mobile
PS - You can use you own colour combinations but must keep the standard of RED = Active entries and GREEN = Done issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions