An app that tests your memory!!
Link to the application: https://jcqlng.github.io/clicky-game/
In this app you will see 12 cards that have characters from a favorite game of mine, The Legend of Zelda. The purpose of the game is to test your memory by allowing you to click on a card. Once the card is clicked, they shuffle out of order and you will click on a different card each click. You can not choose the same card or it will be considered a loss and you will get a "Game over" pop-up and restarts the game once okay is clicked.
- Open the terminal and type
npm i gh-pages
- Once GH-pages is installed, go ahead and add this to your terminal
npm install gh-pages --save-dev
- Got to the package.json file and add
"homepage": "https://jcqlng.github.io/clicky-game/"
above the dependencies - Scroll down then go to scripts and type in at the end
"predeploy": "npm run build", "deploy": "gh-pages -d build"
- When this is all complete, make a push to github. It will push from the gh-pages branch.
- Run
npm deploy
in the terminal - Your website will be published through GitHub and ready for use.
- 💻 Create React App documentation
- 💻 React documentation
- 💻 Deployment
- 💻 Create React App
- 💻 running NPM tests
- 💻 Helpful DEV article
- 💻 Babel
- 💻 Components and Props
- 💻 JSX
- 💻 Another good DEV web forum on how to deploy a React app to GitHub incase you get stuck!