Chapter 3: Language Essentials

Return to Chapter 3

 

To use this script on your own page, click in the text area below, select all, and copy to grab the script. Then, just paste into your own page — and you're done.

Around and Around with Loops

See it run: Around and Around with Loops

Script 3.1

This is the HTML page that creates the skeleton for the Bingo card example. This is used by the rest of the Bingo tasks in this chapter.

Script 3.2

This CSS file adds style to the Bingo card.

Script 3.3

This external JavaScript contains a loop which fills in the numbers in the Bingo card.