Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 879 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 879 Bytes

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 go to localhost/index.html (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.