项目作者: annidrumm

项目描述 :
Memory Card Game 🃏 – a small project with pure JavaScript
高级语言: HTML
项目地址: git://github.com/annidrumm/js-memory-game.git
创建时间: 2021-03-26T20:51:05Z
项目社区:https://github.com/annidrumm/js-memory-game

开源协议:

下载


Memory Card Game

A small project with Vanilla JavaScript

Memory Card Game, also known as Matching Pairs, is a card game in which all of the cards are laid face down on a surface and two cards are flipped face up over each turn. The object of the game is to turn over pairs of matching cards.

This project covers how to:

  • select elements in the DOM with querySelector
  • iterate through lists with forEach
  • add/remove an element class
  • add/remove event listeners
  • timeout
  • html5: data-attribute
  • css3: positioning, flexbox, perspective, backface-visibility, transitions

Design

memory-game-design