🏠 Home
CPS Test Aim Trainer Typing Speed Scroll Speed View All Games →
AI Image Generater Background Remover Social Media Cropper Youtube Thumbnails View All Images →
Word Counter Case Converter Invisible Text Text to Speech View All Text Tools →
JSON Formatter Diff Checker Base64 Converter Meta Tag Generator View All Dev Tools →
Unit Converter Age Calculator BMI Calculator Time Zone Converter View All Calculators →
Home > Flag Quiz

Guess the Flag Quiz

You have 60 seconds. Identify as many flags as you can.

Time
60
Score
0
Loading Flag...
🌍

Geography Quiz

Guess the country from the flag.
Correct answers give points.

🏁

Time's Up

Flags Identified
0
Rank: Tourist

Share your Score

Share This Tool

World Flag Quiz – Test Your Geography Knowledge in 60 Seconds

Being able to identify the flag of every country on Earth is a rare and impressive skill. Whether you are a geography student preparing for a competitive exam, a traveler memorizing the flags of countries on your upcoming itinerary, or simply someone who enjoys pub trivia, our World Flag Quiz offers a fast, fun, and free way to sharpen your recognition skills. No account is required — just open the page and start playing immediately.

The quiz draws from a curated database of 80 country flags spanning every inhabited continent. Flags are served as high-resolution 640 px-wide images from flagcdn.com, the leading open-source flag CDN, ensuring every stripe, star, crescent, and coat of arms renders with crisp accuracy on both desktop monitors and mobile phone screens. The entire game runs client-side in your browser with zero server-side processing, meaning your performance data is never collected, stored, or shared with third parties.

How to Play – Step-by-Step Guide

  1. Open the quiz and click "Start (60s)." A 60-second countdown timer begins the moment you press the button, so be ready. The heads-up display at the top of the game card shows your remaining time on the left and your current score on the right.
  2. Look at the flag. A random flag from the 80-country database loads in the center of the card. While the image downloads, a "Loading Flag…" placeholder keeps the interface responsive — once the onload event fires, the placeholder disappears and the flag appears instantly.
  3. Choose the correct country from four options. The game generates four buttons in a 2 × 2 grid: one containing the correct country name and three containing randomly selected distractors. The order is shuffled on every round using a Fisher-Yates-style random sort, so you cannot rely on positional memory.
  4. Receive instant feedback. A correct answer highlights the button green and increments your score by one point. A wrong answer highlights your selection in red and simultaneously reveals the correct answer in green, giving you a learning moment even on mistakes. The game locks input for 800 milliseconds after each selection to prevent accidental double-clicks.
  5. Continue until time runs out. Each correct or incorrect answer advances to the next round automatically. When the timer reaches zero, the game stops and displays your final score along with a rank badge and social sharing buttons.

Ranking System – How Good Are You?

After each 60-second round, the quiz assigns you one of five rank titles based on your final score:

Technical Implementation

The quiz is built as a lightweight single-page application using vanilla JavaScript. The 80-country dataset is stored as an in-memory array of objects containing ISO 3166-1 alpha-2 country codes (e.g., 'jp' for Japan, 'br' for Brazil) paired with their full English names. On each round, the game selects a random entry via Math.random(), constructs the image URL https://flagcdn.com/w640/{code}.png, and renders it in an <img> element with an onload callback that swaps the loading placeholder for the downloaded flag.

Three distractors are sampled randomly from the same array, deduplicated against the correct answer, and shuffled with Array.sort(() => Math.random() - 0.5) before being injected into a 2 × 2 CSS Grid. The countdown uses setInterval(fn, 1000) and is cleared via clearInterval() when the timer hits zero. An isLocked boolean flag prevents multiple clicks during the 800 ms feedback window between rounds. The result screen dynamically updates the share message text to include your score and rank, and sharing is handled through platform-specific URL schemes for WhatsApp, X (Twitter), Telegram, Threads, Reddit, Pinterest, VKontakte, and Odnoklassniki.

Comparison: NoLoginTool vs. Other Flag Quiz Platforms in 2025

Frequently Asked Questions

How many country flags are in the quiz?

The database contains 80 flags from all six inhabited continents, including major nations from Europe (Germany, France, Poland, Norway), Asia (Japan, South Korea, Thailand, Malaysia), Africa (Nigeria, Kenya, Morocco, Ethiopia), the Americas (United States, Brazil, Colombia, Jamaica), and Oceania (Australia, New Zealand). Each flag uses its official ISO 3166-1 alpha-2 country code.

Is there a penalty for wrong answers?

No. Incorrect answers do not subtract points or reduce your time. The only consequence of a wrong guess is the 800-millisecond feedback delay while the correct answer is highlighted. This design encourages fast, confident guessing and ensures that every round is a learning opportunity.

Can I play the quiz on my phone?

Yes. The interface uses a responsive CSS Grid layout that displays as a 2 × 2 button grid on screens wider than 500 px and collapses to a single column on smaller devices. Touch targets are large and easy to tap, and flags are served at 640 px width so they remain crisp on high-DPI mobile screens.

How are the four answer options generated?

One option is always the correct country. The remaining three are randomly sampled from the full 80-country dataset, filtered to avoid duplicates, and shuffled into random order. This means the difficulty of each round varies naturally — easy rounds feature clearly distinct flags (e.g., Japan vs. Brazil), while harder rounds group visually similar flags (e.g., Ireland vs. Italy) to test your attention to detail.

What do the rank badges mean?

Ranks are assigned based on your final score after 60 seconds: Tourist (0–4), Backpacker (5–14), Diplomat (15–24), Ambassador (25–34), and World Leader (35+). The ranking system is designed to motivate repeat play — most first-time players score in the Tourist or Backpacker range, while reaching World Leader requires significant practice and geographic knowledge.

Is my quiz data stored or tracked?

No. The quiz runs entirely in your browser using client-side JavaScript. No scores, cookies, or personal data are sent to any server. Your results exist only in the current browser tab and disappear when you close or refresh the page. This zero-data-collection approach ensures full GDPR and CCPA compliance.

Related Tools You May Find Useful

If you enjoy fast-paced browser games, try our CPS Test to measure your clicks-per-second speed, or the Aim Trainer to sharpen your mouse precision and reaction time. Both tools run entirely in your browser with no account required. For a different kind of cognitive challenge, the Typing Speed Test measures your words-per-minute with real-time accuracy tracking.

Enjoying NoLoginTool?

Save it for later access 🚀