In this JavaScript game tutorial for beginners I will explain how to code a number memorising game.
Things we will cover:
JavaScript's setTimeout function
manipulating the DOM
JavaScript's Math.random() and Math.floor() functions
You can see the live project on CodePen:
https://codepen.io/patriciamolnar/ful...
Source Code:
https://github.com/patriciamolnar/tut...
Watch some of my other tutorials that I created:
SVG animation: animate an SVG with CSS and JavaScript:
• SVG animation: animate an SVG icon with CS...
CSS text animation with variable fonts:
• CSS Text Animation with Variable Fonts - V...
Add underline animation to your website with JavaScript Intersection Observer API:
• Animated Underline using Intersection Obse...
I put out web development and design tutorials every 1 - 2 weeks, so subscribe for more:
/ channel
I am also on social media, so feel free to connect and reach out:
Twitter: / pmcoding
Instagram: / pmcoding
CodePen: https://codepen.io/patriciamolnar