Sonjide-zz / memory-games

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

What inbuilt functions are we going to focus on?

  • for loops
  • addEventListener
  • setAttribute
  • getAttribute
  • data-name
  • document.querySelector
  • createElement

Rules of Memory Game

  • 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

Resources

https://youtu.be/lhNdUVh3qCc

https://github.com/kubowania/memory-game/commit/4a43cbb73c9ae29b4954a8e473f66a79fbbb78d6

About


Languages

Language:JavaScript 66.4%Language:HTML 28.5%Language:CSS 5.1%