Building a Coin-Tossing Simulator with React, Hooks, and Vercel: Part 2

1 · Daniel Eden · Aug. 10, 2019, midnight
This is the second part in a short series of posts explaining how to build a React application that simulates tossing a coin over and over again. Read part one if you haven’t already, and part three when you’re done here!In the first part of this tutorial, we built a simple React app with a button to toss a coin and tell us which side it landed on.(You can see the source code of where we left off here and run the app here)In this second part, we’re going to start tracking the number of times eac...