Simon Game JavaScript Tutorial for Beginners




In this JavaScript game tutorial, you will learn how to create a Simon game using JavaScript, HTML, and CSS. Every line of JavaScript is explained.

🔗Full code: https://github.com/beaucarnes/simon-game
🔗HTML file: https://raw.githubusercontent.com/beaucarnes/simon-game/master/index.html
🔗CSS file: https://raw.githubusercontent.com/beaucarnes/simon-game/master/css/style.css

Tutorial by Beau Carnes.

🐦Follow Beau on Twitter: @CarnesBeau

Learn to code for free and get a developer job: https://www.freecodecamp.org

Read hundreds of articles on programming: https://medium.freecodecamp.org

And subscribe for new videos on technology every day: https://youtube.com/subscription_center?add_user=freecodecamp

Original source


21 responses to “Simon Game JavaScript Tutorial for Beginners”

  1. @freeCodeCamp.org at 32:26 in the video I attempt to print to the console the filled array but nothing happens when I click start. Just to verify the project worked I copied the JS script and pasted it and run it. However I get an uncaught error property play or null for the function “four” audio.play(). Can someone explain why this happens. I am using sublime text with google chrome browser.

  2. Guys Look at this please, have tried stack overflow….

    VM144 index.js:22 Uncaught TypeError: Cannot read property 'addEventListener' of null

    at VM144 index.js:22

    (anonymous) @ VM144 index.js:22

    index.js:1 Uncaught SyntaxError: Identifier 'order' has already been declared

    at VM144 index.js:1

    (anonymous) @ index.js:1

Leave a Reply