Wolfram Language

Open live version

Make a Tooltip Flag Quiz

Challenge yourself to identify countries from their flags.


code

X

how it works

This example was live-coded at the Wolfram Research booth at SXSW, March 11, 2014.

With the Wolfram Language, you can easily test your ability to identify country flags by making a list of flag images that reveal the countries they belong to when you mouse over them.

Get a list of the countries in Latin America and the Caribbean:

In[1]:=
X
Out[1]=

Show the flag of each country in the list:

In[2]:=
X
Out[2]=

Add a tooltip to each flag so that you can mouse over it to reveal its country:

In[3]:=
X
Out[3]=