/todo-react

A front-end React to-do app that takes in todos, deletes them and incorporates Moment.js functionality.

Primary LanguageJavaScript

todo-react

https://mir-s3-cdn-cf.behance.net/project_modules/max_3840/14de0e61805871.5a7a7f88d1696.jpg

Start with the starter code in script.js.

Do npm install to get and run http-server (you will need it so that script.jsx works correctly)

Create a todo list app:

Add:
  • a button click handler that takes what is in the input, removes it from the input and pushes it into the list.
  • write the code that renders the list

Further

Create a length validation on the input. (Ex., must be more than 1 character and less than 200 characters)

Further

Show the validation error to the user

Further

Write the code that takes things out of the list.

Further

Use moment.js npm library to add dates to the todo list.