This is a solution to the JS1-examination.
- When the game starts all the cards are placed randomly and facedown.
- Each player takes turns to pick two cards.
- If the two cards match, the player keeps them and gets another turn.
- If they don't match, the cards are turned back over and it's the next player's turn.
- The game continues until all the cards have been matched and picked up.
- The player with the most pairs of cards is the winner.
- A pop up will show and it will tell you how the winner is.
- You will then get a choice to click and restart the game.
- Live Site URL: Live
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS Grid
- JavaScript
- Session storage
- Make the cards flip when clicked
- Change theme on:
- Website
- Cardback
- Play vs Computer
- Website - Eric Classon
- Website - Alvin
- LinkedIn - @yourusername
- Website - Kalle
- LinkedIn - @yourusername