Some say repetition is the spice of life.
Download the Code
Code Description and Viewing
The Mandango web page is built incrementally throughout the chapter. Each numbered HTML file corresponds to an incremental version of the web page. When a page number appears beside a file, it is either the page where the file's contents are presented or the exercise (solution) corresponding to the file.
- mandango1.html - Mandango web page with single-seat search (page 208)
- mandango2.html - Mandango web page with break used to fix loop problem (page 214)
- mandango3.html - Mandango web page with three-seat search (page 220)
- mandango4.html - Mandango web page reworked to use a while loop (page 230)
- mandango5.html - Mandango web page with two-dimensional array of seats (page 236-237)
- seat_select.png - Selected movie seat image that appears on the Mandango web page
- seat_avail.png - Available movie seat image that appears on the Mandango web page
- seat_unavail.png - Unavailable movie seat image that appears on the Mandango web page