See the demo on codepen here https://codepen.io/rob9095/pen/odZyyP
To win the game match all the cards successfully. Hit the reset icon to start a new game.
- Click one card to reveal the icon on the other side.
- Click another card to see if that card's icon matches the first card.
- Once all cards are matched a winner page is displayed with the game stats.
Built with vanilla JavaScript, see the code in js/app.js
.
- Font Awesome
- JavaScript enabled web browser