Whack-a-mole game

Day 30: Whack A Mole Game

DAY 30!!! I can't believe it!! What a super fun way to end off the course. Making a game where a user tries to click on the mole that randomly pops up.

What Did I Learn?

Event.isTrusted: To avoid a user cheating through a script, this property is set to true when the event is generated by a user's action.

Interested in participating in #JavaScript30?

Register here and learn at your own speed.