Skip to content

Instantly share code, notes, and snippets.

@shannonjen
Last active December 3, 2020 14:14
Show Gist options
  • Save shannonjen/972bf9542b67668e2ce81b9dadd5239b to your computer and use it in GitHub Desktop.
Save shannonjen/972bf9542b67668e2ce81b9dadd5239b 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