Roll Dice - This is an exercise project that lets you pratice with props, defaultProps, state, and simple click events in React.
RollDice is a random roll-dice game built as an exercise for this tutorial.
React Roll Dice can pick a random element from the array for each die, then update the state, causing the dice to re-render to the appropriate values.
- Clone the project to your local directory
git clone https://github.com/KaushikShivam/roll-dice
- The project uses NPM for managing dependencies. Run npm install to install all the required dependencies
npm install
- Run the task runner to run the app
npm run start
You can contact me at: