Create a TODO list application that allows users to add and delete tasks.
Do not clone this repository because we are going to be using a different template.
We recommend opening the react.js boilerplate
using a provisioning tool like Codespaces (recommended) or Gitpod. Alternatively, you can clone it on your local computer using the git clone
command.
This is the repository you need to open or clone:
https://github.com/4GeeksAcademy/react-hello
👉 Please follow these steps on how to start a coding project.
💡 Important: Remember to save and upload your code to GitHub by creating a new repository, updating the remote (
git remote set-url origin <your new url>
), and uploading the code to your new repository using theadd
,commit
andpush
commands from the git terminal.
- 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 they want.
- When there are no tasks the list should say "No tasks, add a task"
- There is no way to update a task, the user will have to delete and create again.
Do not go straight to the code, think first and have a viable strategy.
- What components will you create? Draw the project on white paper and identify the components.
- Where are the tasks going to be stored in your component?
- Read about controlled inputs in react.js, you will need to understand the concept.
This and many other projects are built by students as part of the 4Geeks Academy Coding Bootcamp by Alejandro Sanchez and many other contributors. Find out more about our Full Stack Developer Course, and Data Science Bootcamp.