Capital cities quiz
Name the capital, or the country, whichever you find harder · Learn ●●○
Change these if you like
Prompt
Make a capital cities quiz. Show me country shown, name the capital, covering all of them. Make it a single HTML file that opens in a browser with nothing to install and no other files. Put the CSS and JavaScript inside it. Do not use image files or any external address; use emoji or letters if you need a symbol. Put the country and capital pairs directly in the code — about sixty of them. Do not fetch data from anywhere. Give four choices per question. Take the wrong ones from the same region, so the quiz is about knowing rather than guessing by continent. Keep score as I go. At the end, list what I missed with the right answers so the quiz is also a study sheet. When you are done, check that the wrong choices really come from the same region as the answer.
What it uses: One file only · Say what it is first · Give an example · Decide what shows
If the choices give it away, ask it to "choose the three wrong answers from neighbouring countries".
Paste what came back
You might also like