Geography quiz

Flag Quiz

Ten flags a round, four countries to choose from — answer and the flag comes back large with the country's facts. Public-domain flag artwork, frozen at build time; the same open data as every GlobeVS tool.

Ten flags. Ten countries.

Guess the country behind each of ten flags — three wrong answers trail every question, mostly from the same continent, and famous lookalike flags (Chad/Romania, Indonesia/Poland…) are dealt in on purpose. Answer correctly and the flag comes back large with the country's facts.

174 countries in the pool · 10 questions per round · best round saved in your browser

How this tool works

  1. Press start — the quiz deals ten flags, one per question, drawn from every country in the dataset that has a flag; every round reshuffles.
  2. Study the flag and pick the country from four options: the right one plus three wrong answers that mostly come from the same continent — and when a country has a famous lookalike flag (Chad/Romania, Indonesia/Poland, Australia/New Zealand…), that impostor is dealt in on purpose.
  3. The answer is revealed instantly: the picked option is marked and the panel beside the question shows the flag large with the country's continent and capital, plus a link into the country data.
  4. After ten questions you get your score, the per-question result strip and your best round (saved only in your browser) — press play again and the flags reshuffle.

Data & method

The flags are the flagcdn.com SVG artworks (public domain): downloaded once at build time, compressed with svgo (integer-precision path rewrites only — the artwork is never redrawn or recomposed) and frozen into this site's repository, so the quiz loads its images from the same origin as the page and never from a third-party CDN at runtime. The pool is the same open dataset every GlobeVS tool uses — Natural Earth 1:110m country boundaries (public domain) joined with mledoze/countries metadata (ODbL): every country with a valid ISO 3166-1 alpha-2 code gets a flag and enters the quiz; the two dataset entries without an ISO code (N. Cyprus, Somaliland) have no flag artwork and are therefore absent, and this is a data fact, not a political position. Wrong options are other countries' names, preferring the same continent and always including a lookalike-flag country when the answer has one — the confusion table (Chad/Romania, Indonesia/Poland, Australia/New Zealand and 13 more pairs) is curated by hand and versioned in the source. The quiz itself is a JavaScript enhancement — without it you can still read the guide, the data note and the FAQ on this page, and the start panel above shows exactly what a round deals.

Embeddable — this tool can be embedded elsewhere.

Sources

flagcdn.com — flag artwork, public domain (frozen at build time) · Natural Earth 1:110m boundaries, public domain · mledoze/countries, ODbL

Embed this tool

Add the flag quiz to your own site: paste the snippet below into your HTML and it loads the same interactive quiz inside an iframe, with a small non-removable “Powered by” attribution link back to this page. The embed is available in English.

<iframe src="https://globevs.com/embed/flag-quiz" width="800" height="600" title="Flag Quiz — GlobeVS" loading="lazy" style="border:0;max-width:100%" sandbox="allow-scripts allow-same-origin allow-popups"></iframe>

FAQ

Which countries does the flag quiz cover?

174 of the 176 countries in the dataset — every one that carries a valid ISO 3166-1 alpha-2 code and therefore has flag artwork. The two exceptions are N. Cyprus and Somaliland: the boundary dataset lists them as country-like features, but they have no ISO code and no flag in the public-domain source, so a flag question could not be sourced for them. Each round deals 10 flags at random, so over a few rounds you will meet most of the world.

Where do the flag images come from?

From flagcdn.com, whose flag artworks are in the public domain. GlobeVS downloads them once at build time, compresses them with svgo and freezes the result into its own repository — the quiz never hot-links a third-party CDN at runtime, which keeps the game fast, stable and privacy-plain. Small inaccuracies are possible in any community flag set; the artworks are rendered exactly as published, only numerically compressed.

Why are some flags much larger files than others?

Fidelity first. Simple tricolors compress to a few hundred bytes, but flags with detailed coats of arms (Ecuador, Mexico, Bolivia…) are thousands of path points; even after svgo's most aggressive numeric compression they stay tens of kilobytes. The quiz only ever loads one flag at a time — the question's image — so a heavy crest costs bandwidth on that one request, never a bulk download.

How are the wrong answers chosen?

Same-continent first, lookalikes always. Most distractors are other countries from the answer's continent, so a guess has to be real knowledge rather than pattern elimination. And when the answer has a famous lookalike flag — Chad/Romania, Indonesia/Poland, Australia/New Zealand, Russia/Slovakia/Slovenia, Venezuela/Ecuador/Colombia and more — at least one impostor is dealt into that question on purpose. The pair table is curated by hand and checked against the dataset by the test suite.

Where is my best score stored?

Only in your own browser, in localStorage — no account, no server, nothing leaves your device. Clearing the site's data resets the best round. Every round is 10 questions, one point each; the result strip at the end shows which questions you hit and missed.

Prefer capitals? Take the ten-question Capital Quiz — the globe flies to every answer →

Open any two countries side by side in the Country Compare tool →