WD JavaScript Workbook

Task 2 – Guess the Numbers Game

Just like CSS, some things are easier to do in practice than to talk about. The language can be confusing and daunting, and you feel like walking away and doing something else instead. To help you get over this we are going to do a little practical with Mozilla again. Let’s all go to this page and go through it step by step together.

https://developer.mozilla.org/en-US/docs/Learn/JavaScript/First_steps/A_first_splash

For your second activity, we are going to have a go at creating the Guess the Number Game.

Let’s start with all having a go at the game so we can see what it looks like when it’s working.

[Demo the page and the game]

Download the requested files and make sure you keep a copy of your JavaScript that you create as you will need to add it to your project website later in the sessions.

Time for this activity: 60 minutes

Downloads today’s Notes

Download today’s Slides

Download today’s Useful Links