/Whack-A-Mole

Whack a mole, old school version for upgrading my Javascript skills

Primary LanguageJavaScript

whac-a-mole

Vanilla JavaScript game

Learn to make a simple grid-based game using HTML, CSS and JavaScript. The idea of whack-a-mole is simple! The player needs to hit the grid with the mole in as many times as possible until the time runs out. In this tutorial, we will cover:

  • document.querySelector
  • textContent
  • forEach
  • addEventListener
  • setInterval
  • classList.add

...and much more.

View the full tutorial [here]:(https://youtu.be/rJU3tHLgb_c)

As always, if you get stuck or have any questions, please do comment below and I will be sure to get back to you!

I would love to see what you made so please tag me on twitter on @ania_kubow or mention me on Youtube so I can find it and see.