Memory Game, also known as the Concentration card game or Matching Game.
In this repo, I will be putting extra focus on setting Attributes in JavaScript.
- for loops
- addEventListener
- setAttribute
- getAttribute
- data-name
- document.querySelector
- createElement
- You will start by flipping over one card
- If the next card you flip matches, a pop up alert notifies you and you get +1 to your score
- These cards then disspear
- If the next card you flip does not match, a pop up alert notifies you of ths and the cards flip back
- The game continues until you match all the cards on the board
https://github.com/kubowania/memory-game/commit/4a43cbb73c9ae29b4954a8e473f66a79fbbb78d6