Skip to content

Instantly share code, notes, and snippets.

@MonaTem
Created March 17, 2018 19:27
Show Gist options
  • Save MonaTem/a89f4a0923b0922001444bd6e7b5fa18 to your computer and use it in GitHub Desktop.
Save MonaTem/a89f4a0923b0922001444bd6e7b5fa18 to your computer and use it in GitHub Desktop.
g72 Warm Up!

React ToDo

From the command line, create a react app with create-react-app and then do the following:

Base goal: Create two new components, one called TodoInput and another called TodoList. Wire up TodoInput to add todos to the todo list.

Stretch goal 1: Modify the app to where it is unable to submit a new todo if the input field is blank.

Stretch goal 2: Allow users to remove todos from the list using a "remove" button next to each todo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment