Part of JavaScript, one lesson a day
JavaScript exercises
Practise what the JavaScript lessons teach: a short lesson before each task, and an answer you can run. With small projects, like a Hangman game.
The lessons
- Lesson 1 Functions: 20 exercises 20 exercises to practise functions, each with a short lesson first: parameters and returns, writing to the page, arrays, strings and regular expressions. Every answer runs.
- Lesson 2 Newest lesson Project: build a Hangman game Build the word-guessing game step by step: a random word, blanks, letter guesses, attempts, winning and losing, and a version you can play on a web page.