The Essential Guide to HTML5

(Greg DeLong) #1

CHAPTER 6


Figure 6-1. An opening screen for the quiz


Players attempt to match a country and its capital by clicking first on one and then the other, and the
blocks change color to indicate success. Figure 6-2 shows the correct matching of Canada and Ottawa,
and Figure 6-3 shows a second match. Notice that the blocks have been colored in and the Score goes to
1 and then to 2.


Figure 6-2. One pair correctly matched

Free download pdf