This course will be retired on March 1, 2023. We recommend "React Components" for up-to-date content.
Adding Items to State7:33 with Guil Hernandez
Now it's time to let users add players to the Scoreboard! First, we'll create an event handler that allows users to submit the form. Then we'll write a function that adds the new player to state and displays it in the UI.
You need to sign up for Treehouse in order to download course files.Sign up