12
Finishing Touches:
Some Global Attributes
In this last chapter, we will look at some seemingly insignificant global attributes
of the HTMLElement interface. Our leitmotif in this chapter will be the develop-
ment of a simple game that requires putting terms in a particular order follow-
ing given criteria, similar to the preliminary round of the popular TV show Who
Wants to Be a Millionaire. We call our game 1- 2-3-4! It involves the capital cities
of the 27 EU member states. Can you put the capital cities in order by number of
inhabitants? Do you know which city is farther north, south, west, or east? If not,
you probably will by the end of this chapter.