Skip to content

breatheco-de/exercise-todo-list-react-context

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alt text React TODO application

Create a TODO list application that allows users to add and delete tasks but using the context API with a centralized store and action functions.

🌱 How to start this project

Do not clone this repository.

The first step to start coding is cloning the react.js boilerplate on your local computer or opening it using gitpod.

a) If using Gitpod (recommended) you can clone the boilerplate by clicking here.

b) If working locally type the following command from your command line: git clone https://github.com/4GeeksAcademy/react-hello-webapp.

🔎 Important: Remember to create a new repository, update the remote URL (git remote set-url origin <your new url>), and upload the code to your new repository using add, commit and push.

📝 Instructions:

  • Your app needs to look like this.

  • The tasks are added when the user presses enter on the keyboard or you can have your own button.

  • The delete icon shows only when the task is hovered.

  • The user can add as many tasks as it wants.

  • When there are no tasks the list should display "No tasks, add a task"

  • There is no way to update a task, the user will have to delete and create it again.

💡 Tips to finish this project:

Do not go straight to the code, think first and have a viable strategy.

  • What components will you create? Draw the project on a white paper and identify components.

  • Where are the tasks going to be stored in your component?

  • Read about controlled components inputs in react.js, you will need to understand the concept.

About

Create a todo list with React and using the Context API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •