Chapter 2: Start Me Up!

Return to Chapter 2

 

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.

Confirming a User's Choice

See it run: Confirming a User's Choice

Script 2.7

This external JavaScript introduces the idea of conditionals, specifically the if... else construction.