Country Capitals Game
I made this Country Capitals Game in Reactjs.
- The page button will appear in random order every time the user refreshes the page.
- Clicking a button button background color will be blue.
- Clicking another button: - Slected button will be removed If a country and capital pair has been selected - Both buttons are background color will be red if a wrong pair has been selected
- When there are no buttons left, the message "Congratulations" will appear.
- Make sure that you have Node.js v8.15.1 and npm v5 or above installed.
- Clone this repo using
https://github.com/AhmadFaraz-crypto/Country-capital-game.git
- Move to the appropriate directory:
cd Country-capital-game
. - Run
npm install
in order to install dependencies and clean the git repo.
At this point you can runnpm start
to see the example app athttp://localhost:3000
. - Run
npm run clean
to delete the example app.