In this note, I have compiled 5 mini-games that can be built using only HTML, CSS, and JavaScript. When you first start programming, studying just the syntax can be quite dull. However, things change ...
Click two cards to flip them. Match both cards with the same symbol. Match all pairs to win the game.
Every setting (speed, colors, sizes, word lists…) is a constant at the top of the script, so each game is easy to change.