The idea and the plan
Section 10: The final project: the memory gameLesson 10.1 · ⏱ 7 min
🎯 Project goal
8 cards face down with 4 pairs. You turn over two cards: if they match they stay open, otherwise they turn back. You win when you find the four pairs.
- HTML: a title, the tries counter, and an empty board.
- CSS: a Grid of 4 columns, and a colour for each state: face down, open and done.
- JavaScript: the emoji array twice, then we shuffle it and make a button for each card.


