{"id":177,"date":"2022-11-10T06:41:33","date_gmt":"2022-11-10T06:41:33","guid":{"rendered":"https:\/\/shaplakanon.com\/learnwithfun\/?page_id=177"},"modified":"2025-02-25T20:34:20","modified_gmt":"2025-02-25T20:34:20","slug":"country-and-capital-city","status":"publish","type":"page","link":"https:\/\/shaplakanon.com\/learnwithfun\/country-and-capital-city\/","title":{"rendered":"Country and Capital City"},"content":{"rendered":"\n\n\n\n \n \n Country and Capital City Quiz<\/title>\n <style>\n body {\n font-family: Arial, sans-serif;\n background-color: #f4f4f9;\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100vh;\n margin: 0;\n }\n .quiz-container {\n background-color: white;\n padding: 20px;\n border-radius: 8px;\n box-shadow: 0 0 10px rgba(0,0,0,0.1);\n width: 350px;\n text-align: center;\n display: none; \/* Initially hidden *\/\n }\n .question {\n margin-bottom: 20px;\n font-size: 20px;\n }\n .options button {\n display: block;\n width: 100%;\n padding: 10px;\n margin-bottom: 10px;\n font-size: 16px;\n color: white;\n background-color: #007BFF;\n border: none;\n border-radius: 5px;\n cursor: pointer;\n }\n .options button:hover {\n background-color: #0056b3;\n }\n .options button.correct {\n background-color: #4CAF50; \/* Green *\/\n }\n #start-button, #start-again-button {\n padding: 10px 20px;\n font-size: 16px;\n background-color: green;\n color: white;\n border: none;\n border-radius: 5px;\n cursor: pointer;\n }\n #start-button:hover, #start-again-button:hover {\n background-color: darkgreen;\n }\n #result {\n margin-top: 20px;\n font-size: 16px;\n color: red;\n }\n <\/style>\n<\/head>\n<body>\n <button id=\"start-button\" onclick=\"startQuiz()\">Start Quiz<\/button>\n <div class=\"quiz-container\">\n <h1>Country and Capital Quiz<\/h1>\n<h3>High Score: <span id=\"highScore\">130<\/span><\/h3>\n <div id=\"question\" class=\"question\"><\/div>\n <div class=\"options\"><\/div>\n <div id=\"result\"><\/div>\n\t\t<div id=\"timer\"><\/div>\n <button id=\"start-again-button\" onclick=\"window.location.reload();\" style=\"display:none;\">Start Again<\/button>\n <\/div>\n <script>\n document.addEventListener('DOMContentLoaded', function() {\n const startButton = document.getElementById('start-button');\n const quizContainer = document.querySelector('.quiz-container');\n const questionElement = document.getElementById('question');\n const optionsContainer = document.querySelector('.options');\n const resultDisplay = document.getElementById('result');\n\tconst timeDisplay = document.getElementById('timer');\n const startAgainButton = document.getElementById('start-again-button');\n\n let currentQuestion = 0;\n let score = 0;\n const questions = [\n { \"question\": \"Afghanistan\", \"options\": [\"Kabul\", \"Tehran\", \"Islamabad\", \"Dushanbe\"], \"correct\": 0 },\n { \"question\": \"Albania\", \"options\": [\"Tirana\", \"Skopje\", \"Sofia\", \"Belgrade\"], \"correct\": 0 },\n { \"question\": \"Algeria\", \"options\": [\"Algiers\", \"Rabat\", \"Tunis\", \"Tripoli\"], \"correct\": 0 },\n { \"question\": \"Andorra\", \"options\": [\"Andorra la Vella\", \"Madrid\", \"Lisbon\", \"Paris\"], \"correct\": 0 },\n { \"question\": \"Angola\", \"options\": [\"Luanda\", \"Kinshasa\", \"Harare\", \"Lusaka\"], \"correct\": 0 },\n { \"question\": \"Antigua and Barbuda\", \"options\": [\"St. John's\", \"Bridgetown\", \"Kingstown\", \"Roseau\"], \"correct\": 0 },\n { \"question\": \"Argentina\", \"options\": [\"Buenos Aires\", \"Montevideo\", \"Santiago\", \"Lima\"], \"correct\": 0 },\n { \"question\": \"Armenia\", \"options\": [\"Yerevan\", \"Tbilisi\", \"Baku\", \"Tehran\"], \"correct\": 0 },\n { \"question\": \"Australia\", \"options\": [\"Canberra\", \"Wellington\", \"Sydney\", \"Melbourne\"], \"correct\": 0 },\n { \"question\": \"Austria\", \"options\": [\"Vienna\", \"Berlin\", \"Budapest\", \"Prague\"], \"correct\": 0 },\n{ \"question\": \"Azerbaijan\", \"options\": [\"Baku\", \"Yerevan\", \"Tbilisi\", \"Tehran\"], \"correct\": 0 },\n { \"question\": \"Bahamas\", \"options\": [\"Nassau\", \"Havana\", \"Kingston\", \"Bridgetown\"], \"correct\": 0 },\n { \"question\": \"Bahrain\", \"options\": [\"Manama\", \"Doha\", \"Abu Dhabi\", \"Kuwait City\"], \"correct\": 0 },\n { \"question\": \"Bangladesh\", \"options\": [\"Dhaka\", \"Thimphu\", \"Kathmandu\", \"Colombo\"], \"correct\": 0 },\n { \"question\": \"Barbados\", \"options\": [\"Bridgetown\", \"Kingstown\", \"Castries\", \"St. John's\"], \"correct\": 0 },\n { \"question\": \"Belarus\", \"options\": [\"Minsk\", \"Moscow\", \"Kiev\", \"Vilnius\"], \"correct\": 0 },\n { \"question\": \"Belgium\", \"options\": [\"Brussels\", \"Amsterdam\", \"Luxembourg\", \"Paris\"], \"correct\": 0 },\n { \"question\": \"Belize\", \"options\": [\"Belmopan\", \"Guatemala City\", \"Tegucigalpa\", \"San Salvador\"], \"correct\": 0 },\n { \"question\": \"Benin\", \"options\": [\"Porto-Novo\", \"Lome\", \"Accra\", \"Abuja\"], \"correct\": 0 },\n { \"question\": \"Bhutan\", \"options\": [\"Thimphu\", \"Kathmandu\", \"Dhaka\", \"New Delhi\"], \"correct\": 0 },\n{ \"question\": \"Bolivia\", \"options\": [\"Sucre\", \"Lima\", \"Santiago\", \"Buenos Aires\"], \"correct\": 0 },\n { \"question\": \"Bosnia and Herzegovina\", \"options\": [\"Sarajevo\", \"Belgrade\", \"Zagreb\", \"Skopje\"], \"correct\": 0 },\n { \"question\": \"Botswana\", \"options\": [\"Gaborone\", \"Harare\", \"Lusaka\", \"Windhoek\"], \"correct\": 0 },\n { \"question\": \"Brazil\", \"options\": [\"Bras\u00edlia\", \"Buenos Aires\", \"Lima\", \"Santiago\"], \"correct\": 0 },\n { \"question\": \"Brunei\", \"options\": [\"Bandar Seri Begawan\", \"Jakarta\", \"Kuala Lumpur\", \"Bangkok\"], \"correct\": 0 },\n { \"question\": \"Bulgaria\", \"options\": [\"Sofia\", \"Bucharest\", \"Belgrade\", \"Athens\"], \"correct\": 0 },\n { \"question\": \"Burkina Faso\", \"options\": [\"Ouagadougou\", \"Bamako\", \"Niamey\", \"Accra\"], \"correct\": 0 },\n { \"question\": \"Burundi\", \"options\": [\"Gitega\", \"Kigali\", \"Bujumbura\", \"Kampala\"], \"correct\": 0 },\n { \"question\": \"Cabo Verde\", \"options\": [\"Praia\", \"Dakar\", \"Bissau\", \"Banjul\"], \"correct\": 0 },\n { \"question\": \"Cambodia\", \"options\": [\"Phnom Penh\", \"Bangkok\", \"Vientiane\", \"Hanoi\"], \"correct\": 0 },\n { \"question\": \"Cameroon\", \"options\": [\"Yaound\u00e9\", \"N'Djamena\", \"Libreville\", \"Abuja\"], \"correct\": 0 },\n { \"question\": \"Canada\", \"options\": [\"Ottawa\", \"Washington, D.C.\", \"Mexico City\", \"Havana\"], \"correct\": 0 },\n { \"question\": \"Central African Republic\", \"options\": [\"Bangui\", \"N'Djamena\", \"Khartoum\", \"Yaound\u00e9\"], \"correct\": 0 },\n { \"question\": \"Chad\", \"options\": [\"N'Djamena\", \"Niamey\", \"Khartoum\", \"Bangui\"], \"correct\": 0 },\n { \"question\": \"Chile\", \"options\": [\"Santiago\", \"Buenos Aires\", \"Lima\", \"Bogot\u00e1\"], \"correct\": 0 },\n { \"question\": \"China\", \"options\": [\"Beijing\", \"Tokyo\", \"Seoul\", \"Ulaanbaatar\"], \"correct\": 0 },\n { \"question\": \"Colombia\", \"options\": [\"Bogot\u00e1\", \"Caracas\", \"Quito\", \"Lima\"], \"correct\": 0 },\n { \"question\": \"Comoros\", \"options\": [\"Moroni\", \"Antananarivo\", \"Port Louis\", \"Victoria\"], \"correct\": 0 },\n { \"question\": \"Congo, Democratic Republic of the\", \"options\": [\"Kinshasa\", \"Brazzaville\", \"Libreville\", \"Luanda\"], \"correct\": 0 },\n { \"question\": \"Congo, Republic of the\", \"options\": [\"Brazzaville\", \"Kinshasa\", \"Libreville\", \"Yaound\u00e9\"], \"correct\": 0 },\n{ \"question\": \"Costa Rica\", \"options\": [\"San Jos\u00e9\", \"Panama City\", \"Managua\", \"Tegucigalpa\"], \"correct\": 0 },\n { \"question\": \"Croatia\", \"options\": [\"Zagreb\", \"Ljubljana\", \"Belgrade\", \"Sarajevo\"], \"correct\": 0 },\n { \"question\": \"Cuba\", \"options\": [\"Havana\", \"Kingston\", \"Nassau\", \"Santo Domingo\"], \"correct\": 0 },\n { \"question\": \"Cyprus\", \"options\": [\"Nicosia\", \"Athens\", \"Ankara\", \"Beirut\"], \"correct\": 0 },\n { \"question\": \"Czech Republic\", \"options\": [\"Prague\", \"Vienna\", \"Budapest\", \"Warsaw\"], \"correct\": 0 },\n { \"question\": \"Denmark\", \"options\": [\"Copenhagen\", \"Oslo\", \"Stockholm\", \"Helsinki\"], \"correct\": 0 },\n { \"question\": \"Djibouti\", \"options\": [\"Djibouti\", \"Asmara\", \"Addis Ababa\", \"Sana'a\"], \"correct\": 0 },\n { \"question\": \"Dominica\", \"options\": [\"Roseau\", \"Bridgetown\", \"Castries\", \"Kingstown\"], \"correct\": 0 },\n { \"question\": \"Dominican Republic\", \"options\": [\"Santo Domingo\", \"Havana\", \"Port-au-Prince\", \"San Juan\"], \"correct\": 0 },\n { \"question\": \"Ecuador\", \"options\": [\"Quito\", \"Lima\", \"Bogot\u00e1\", \"Caracas\"], \"correct\": 0 },\n { \"question\": \"Egypt\", \"options\": [\"Cairo\", \"Khartoum\", \"Tripoli\", \"Riyadh\"], \"correct\": 0 },\n { \"question\": \"El Salvador\", \"options\": [\"San Salvador\", \"Guatemala City\", \"Tegucigalpa\", \"Managua\"], \"correct\": 0 },\n { \"question\": \"Equatorial Guinea\", \"options\": [\"Malabo\", \"Yaound\u00e9\", \"Libreville\", \"Brazzaville\"], \"correct\": 0 },\n { \"question\": \"Eritrea\", \"options\": [\"Asmara\", \"Djibouti\", \"Addis Ababa\", \"Khartoum\"], \"correct\": 0 },\n { \"question\": \"Estonia\", \"options\": [\"Tallinn\", \"Riga\", \"Vilnius\", \"Helsinki\"], \"correct\": 0 },\n { \"question\": \"Eswatini\", \"options\": [\"Mbabane\", \"Maputo\", \"Pretoria\", \"Gaborone\"], \"correct\": 0 },\n { \"question\": \"Ethiopia\", \"options\": [\"Addis Ababa\", \"Nairobi\", \"Asmara\", \"Kampala\"], \"correct\": 0 },\n { \"question\": \"Fiji\", \"options\": [\"Suva\", \"Port Moresby\", \"Wellington\", \"Nuku'alofa\"], \"correct\": 0 },\n { \"question\": \"Finland\", \"options\": [\"Helsinki\", \"Stockholm\", \"Oslo\", \"Copenhagen\"], \"correct\": 0 },\n { \"question\": \"France\", \"options\": [\"Paris\", \"Brussels\", \"Berlin\", \"Madrid\"], \"correct\": 0 },\n{ \"question\": \"Gabon\", \"options\": [\"Libreville\", \"Yaound\u00e9\", \"Brazzaville\", \"Kinshasa\"], \"correct\": 0 },\n { \"question\": \"Gambia\", \"options\": [\"Banjul\", \"Dakar\", \"Conakry\", \"Bissau\"], \"correct\": 0 },\n { \"question\": \"Georgia\", \"options\": [\"Tbilisi\", \"Yerevan\", \"Baku\", \"Ankara\"], \"correct\": 0 },\n { \"question\": \"Germany\", \"options\": [\"Berlin\", \"Vienna\", \"Amsterdam\", \"Prague\"], \"correct\": 0 },\n { \"question\": \"Ghana\", \"options\": [\"Accra\", \"Abuja\", \"Lom\u00e9\", \"Yamoussoukro\"], \"correct\": 0 },\n { \"question\": \"Greece\", \"options\": [\"Athens\", \"Ankara\", \"Sofia\", \"Belgrade\"], \"correct\": 0 },\n { \"question\": \"Grenada\", \"options\": [\"St. George's\", \"Bridgetown\", \"Kingstown\", \"Roseau\"], \"correct\": 0 },\n { \"question\": \"Guatemala\", \"options\": [\"Guatemala City\", \"San Salvador\", \"Tegucigalpa\", \"Managua\"], \"correct\": 0 },\n { \"question\": \"Guinea\", \"options\": [\"Conakry\", \"Freetown\", \"Monrovia\", \"Bamako\"], \"correct\": 0 },\n { \"question\": \"Guinea-Bissau\", \"options\": [\"Bissau\", \"Banjul\", \"Dakar\", \"Conakry\"], \"correct\": 0 },\n { \"question\": \"Guyana\", \"options\": [\"Georgetown\", \"Paramaribo\", \"Caracas\", \"Port of Spain\"], \"correct\": 0 },\n { \"question\": \"Haiti\", \"options\": [\"Port-au-Prince\", \"Santo Domingo\", \"Kingston\", \"Nassau\"], \"correct\": 0 },\n { \"question\": \"Honduras\", \"options\": [\"Tegucigalpa\", \"San Salvador\", \"Managua\", \"Guatemala City\"], \"correct\": 0 },\n { \"question\": \"Hungary\", \"options\": [\"Budapest\", \"Vienna\", \"Bratislava\", \"Zagreb\"], \"correct\": 0 },\n { \"question\": \"Iceland\", \"options\": [\"Reykjavik\", \"Oslo\", \"Copenhagen\", \"Helsinki\"], \"correct\": 0 },\n { \"question\": \"India\", \"options\": [\"New Delhi\", \"Islamabad\", \"Dhaka\", \"Kathmandu\"], \"correct\": 0 },\n { \"question\": \"Indonesia\", \"options\": [\"Jakarta\", \"Kuala Lumpur\", \"Bangkok\", \"Manila\"], \"correct\": 0 },\n { \"question\": \"Iran\", \"options\": [\"Tehran\", \"Baghdad\", \"Ankara\", \"Riyadh\"], \"correct\": 0 },\n { \"question\": \"Iraq\", \"options\": [\"Baghdad\", \"Tehran\", \"Damascus\", \"Riyadh\"], \"correct\": 0 },\n { \"question\": \"Ireland\", \"options\": [\"Dublin\", \"London\", \"Edinburgh\", \"Cardiff\"], \"correct\": 0 },\n\n { \"question\": \"Italy\", \"options\": [\"Rome\", \"Milan\", \"Naples\", \"Venice\"], \"correct\": 0 },\n { \"question\": \"Jamaica\", \"options\": [\"Kingston\", \"Nassau\", \"Havana\", \"Bridgetown\"], \"correct\": 0 },\n { \"question\": \"Japan\", \"options\": [\"Tokyo\", \"Seoul\", \"Beijing\", \"Shanghai\"], \"correct\": 0 },\n { \"question\": \"Jordan\", \"options\": [\"Amman\", \"Damascus\", \"Beirut\", \"Jerusalem\"], \"correct\": 0 },\n { \"question\": \"Kazakhstan\", \"options\": [\"Nur-Sultan\", \"Astana\", \"Almaty\", \"Bishkek\"], \"correct\": 0 },\n { \"question\": \"Kenya\", \"options\": [\"Nairobi\", \"Mombasa\", \"Kampala\", \"Dar es Salaam\"], \"correct\": 0 },\n { \"question\": \"Kiribati\", \"options\": [\"Tarawa\", \"Suva\", \"Majuro\", \"Nuku'alofa\"], \"correct\": 0 },\n { \"question\": \"Kuwait\", \"options\": [\"Kuwait City\", \"Riyadh\", \"Doha\", \"Manama\"], \"correct\": 0 },\n { \"question\": \"Kyrgyzstan\", \"options\": [\"Bishkek\", \"Tashkent\", \"Dushanbe\", \"Astana\"], \"correct\": 0 },\n { \"question\": \"Laos\", \"options\": [\"Vientiane\", \"Phnom Penh\", \"Bangkok\", \"Hanoi\"], \"correct\": 0 },\n { \"question\": \"Latvia\", \"options\": [\"Riga\", \"Tallinn\", \"Vilnius\", \"Helsinki\"], \"correct\": 0 },\n { \"question\": \"Lebanon\", \"options\": [\"Beirut\", \"Damascus\", \"Amman\", \"Jerusalem\"], \"correct\": 0 },\n { \"question\": \"Lesotho\", \"options\": [\"Maseru\", \"Pretoria\", \"Maputo\", \"Gaborone\"], \"correct\": 0 },\n { \"question\": \"Liberia\", \"options\": [\"Monrovia\", \"Freetown\", \"Conakry\", \"Abidjan\"], \"correct\": 0 },\n { \"question\": \"Libya\", \"options\": [\"Tripoli\", \"Cairo\", \"Tunis\", \"Algiers\"], \"correct\": 0 },\n { \"question\": \"Liechtenstein\", \"options\": [\"Vaduz\", \"Zurich\", \"Innsbruck\", \"Munich\"], \"correct\": 0 },\n { \"question\": \"Lithuania\", \"options\": [\"Vilnius\", \"Riga\", \"Tallinn\", \"Minsk\"], \"correct\": 0 },\n { \"question\": \"Luxembourg\", \"options\": [\"Luxembourg\", \"Brussels\", \"Amsterdam\", \"Paris\"], \"correct\": 0 },\n { \"question\": \"Madagascar\", \"options\": [\"Antananarivo\", \"Maputo\", \"Port Louis\", \"Harare\"], \"correct\": 0 },\n{ \"question\": \"Malawi\", \"options\": [\"Lilongwe\", \"Harare\", \"Lusaka\", \"Maputo\"], \"correct\": 0 },\n { \"question\": \"Malaysia\", \"options\": [\"Kuala Lumpur\", \"Singapore\", \"Bangkok\", \"Jakarta\"], \"correct\": 0 },\n { \"question\": \"Maldives\", \"options\": [\"Mal\u00e9\", \"Colombo\", \"Thimphu\", \"Kathmandu\"], \"correct\": 0 },\n { \"question\": \"Mali\", \"options\": [\"Bamako\", \"Niamey\", \"Ouagadougou\", \"Dakar\"], \"correct\": 0 },\n { \"question\": \"Malta\", \"options\": [\"Valletta\", \"Rome\", \"Athens\", \"Nicosia\"], \"correct\": 0 },\n { \"question\": \"Marshall Islands\", \"options\": [\"Majuro\", \"Tarawa\", \"Palikir\", \"Honiara\"], \"correct\": 0 },\n { \"question\": \"Mauritania\", \"options\": [\"Nouakchott\", \"Dakar\", \"Bamako\", \"Niamey\"], \"correct\": 0 },\n { \"question\": \"Mauritius\", \"options\": [\"Port Louis\", \"Antananarivo\", \"Port Victoria\", \"Maputo\"], \"correct\": 0 },\n { \"question\": \"Mexico\", \"options\": [\"Mexico City\", \"Guatemala City\", \"Havana\", \"Bogot\u00e1\"], \"correct\": 0 },\n { \"question\": \"Micronesia\", \"options\": [\"Palikir\", \"Majuro\", \"Suva\", \"Nuku'alofa\"], \"correct\": 0 },\n { \"question\": \"Moldova\", \"options\": [\"Chisinau\", \"Bucharest\", \"Kiev\", \"Sofia\"], \"correct\": 0 },\n { \"question\": \"Monaco\", \"options\": [\"Monaco\", \"Nice\", \"Genoa\", \"Marseille\"], \"correct\": 0 },\n { \"question\": \"Mongolia\", \"options\": [\"Ulaanbaatar\", \"Beijing\", \"Moscow\", \"Astana\"], \"correct\": 0 },\n { \"question\": \"Montenegro\", \"options\": [\"Podgorica\", \"Belgrade\", \"Sarajevo\", \"Skopje\"], \"correct\": 0 },\n { \"question\": \"Morocco\", \"options\": [\"Rabat\", \"Algiers\", \"Tunis\", \"Cairo\"], \"correct\": 0 },\n { \"question\": \"Mozambique\", \"options\": [\"Maputo\", \"Harare\", \"Lilongwe\", \"Lusaka\"], \"correct\": 0 },\n { \"question\": \"Myanmar\", \"options\": [\"Naypyidaw\", \"Bangkok\", \"Phnom Penh\", \"Kuala Lumpur\"], \"correct\": 0 },\n { \"question\": \"Namibia\", \"options\": [\"Windhoek\", \"Pretoria\", \"Luanda\", \"Gaborone\"], \"correct\": 0 },\n { \"question\": \"Nauru\", \"options\": [\"Yaren\", \"Tarawa\", \"Majuro\", \"Funafuti\"], \"correct\": 0 },\n { \"question\": \"Nepal\", \"options\": [\"Kathmandu\", \"Thimphu\", \"Dhaka\", \"Islamabad\"], \"correct\": 0 },\n{ \"question\": \"Netherlands\", \"options\": [\"Amsterdam\", \"Brussels\", \"Berlin\", \"Paris\"], \"correct\": 0 },\n { \"question\": \"New Zealand\", \"options\": [\"Wellington\", \"Canberra\", \"Auckland\", \"Sydney\"], \"correct\": 0 },\n { \"question\": \"Nicaragua\", \"options\": [\"Managua\", \"San Jos\u00e9\", \"Tegucigalpa\", \"Panama City\"], \"correct\": 0 },\n { \"question\": \"Niger\", \"options\": [\"Niamey\", \"Bamako\", \"Ouagadougou\", \"N'Djamena\"], \"correct\": 0 },\n { \"question\": \"Nigeria\", \"options\": [\"Abuja\", \"Lagos\", \"Accra\", \"Dakar\"], \"correct\": 0 },\n { \"question\": \"North Korea\", \"options\": [\"Pyongyang\", \"Seoul\", \"Tokyo\", \"Beijing\"], \"correct\": 0 },\n { \"question\": \"North Macedonia\", \"options\": [\"Skopje\", \"Sofia\", \"Belgrade\", \"Tirana\"], \"correct\": 0 },\n { \"question\": \"Norway\", \"options\": [\"Oslo\", \"Stockholm\", \"Copenhagen\", \"Helsinki\"], \"correct\": 0 },\n { \"question\": \"Oman\", \"options\": [\"Muscat\", \"Riyadh\", \"Abu Dhabi\", \"Doha\"], \"correct\": 0 },\n { \"question\": \"Pakistan\", \"options\": [\"Islamabad\", \"Karachi\", \"New Delhi\", \"Dhaka\"], \"correct\": 0 },\n { \"question\": \"Palau\", \"options\": [\"Ngerulmud\", \"Palikir\", \"Majuro\", \"Yaren\"], \"correct\": 0 },\n { \"question\": \"Palestine\", \"options\": [\"Jerusalem\", \"Ramallah\", \"Tel Aviv\", \"Amman\"], \"correct\": 0 },\n { \"question\": \"Panama\", \"options\": [\"Panama City\", \"San Jos\u00e9\", \"Managua\", \"Bogot\u00e1\"], \"correct\": 0 },\n { \"question\": \"Papua New Guinea\", \"options\": [\"Port Moresby\", \"Suva\", \"Honiara\", \"Palikir\"], \"correct\": 0 },\n { \"question\": \"Paraguay\", \"options\": [\"Asunci\u00f3n\", \"Montevideo\", \"Buenos Aires\", \"Lima\"], \"correct\": 0 },\n { \"question\": \"Peru\", \"options\": [\"Lima\", \"Quito\", \"Santiago\", \"Bogot\u00e1\"], \"correct\": 0 },\n { \"question\": \"Philippines\", \"options\": [\"Manila\", \"Jakarta\", \"Bangkok\", \"Kuala Lumpur\"], \"correct\": 0 },\n { \"question\": \"Poland\", \"options\": [\"Warsaw\", \"Prague\", \"Berlin\", \"Vienna\"], \"correct\": 0 },\n { \"question\": \"Portugal\", \"options\": [\"Lisbon\", \"Madrid\", \"Barcelona\", \"Porto\"], \"correct\": 0 },\n { \"question\": \"Qatar\", \"options\": [\"Doha\", \"Dubai\", \"Abu Dhabi\", \"Manama\"], \"correct\": 0 },\n{ \"question\": \"Romania\", \"options\": [\"Bucharest\", \"Budapest\", \"Sofia\", \"Belgrade\"], \"correct\": 0 },\n { \"question\": \"Russia\", \"options\": [\"Moscow\", \"Saint Petersburg\", \"Warsaw\", \"Kiev\"], \"correct\": 0 },\n { \"question\": \"Rwanda\", \"options\": [\"Kigali\", \"Kampala\", \"Bujumbura\", \"Dodoma\"], \"correct\": 0 },\n { \"question\": \"Saint Kitts and Nevis\", \"options\": [\"Basseterre\", \"Roseau\", \"Kingstown\", \"Castries\"], \"correct\": 0 },\n { \"question\": \"Saint Lucia\", \"options\": [\"Castries\", \"Bridgetown\", \"Kingstown\", \"St. John's\"], \"correct\": 0 },\n { \"question\": \"Saint Vincent and the Grenadines\", \"options\": [\"Kingstown\", \"Castries\", \"Bridgetown\", \"Roseau\"], \"correct\": 0 },\n { \"question\": \"Samoa\", \"options\": [\"Apia\", \"Nuku'alofa\", \"Suva\", \"Port Moresby\"], \"correct\": 0 },\n { \"question\": \"San Marino\", \"options\": [\"San Marino\", \"Vatican City\", \"Monaco\", \"Andorra la Vella\"], \"correct\": 0 },\n { \"question\": \"Sao Tome and Principe\", \"options\": [\"S\u00e3o Tom\u00e9\", \"Libreville\", \"Luanda\", \"Malabo\"], \"correct\": 0 },\n { \"question\": \"Saudi Arabia\", \"options\": [\"Riyadh\", \"Doha\", \"Kuwait City\", \"Abu Dhabi\"], \"correct\": 0 },\n { \"question\": \"Senegal\", \"options\": [\"Dakar\", \"Bamako\", \"Nouakchott\", \"Conakry\"], \"correct\": 0 },\n { \"question\": \"Serbia\", \"options\": [\"Belgrade\", \"Zagreb\", \"Sarajevo\", \"Skopje\"], \"correct\": 0 },\n { \"question\": \"Seychelles\", \"options\": [\"Victoria\", \"Port Louis\", \"Antananarivo\", \"Moroni\"], \"correct\": 0 },\n { \"question\": \"Sierra Leone\", \"options\": [\"Freetown\", \"Monrovia\", \"Conakry\", \"Banjul\"], \"correct\": 0 },\n { \"question\": \"Singapore\", \"options\": [\"Singapore\", \"Kuala Lumpur\", \"Bangkok\", \"Jakarta\"], \"correct\": 0 },\n { \"question\": \"Slovakia\", \"options\": [\"Bratislava\", \"Vienna\", \"Budapest\", \"Prague\"], \"correct\": 0 },\n { \"question\": \"Slovenia\", \"options\": [\"Ljubljana\", \"Zagreb\", \"Vienna\", \"Bratislava\"], \"correct\": 0 },\n { \"question\": \"Solomon Islands\", \"options\": [\"Honiara\", \"Suva\", \"Port Moresby\", \"Tarawa\"], \"correct\": 0 },\n { \"question\": \"Somalia\", \"options\": [\"Mogadishu\", \"Addis Ababa\", \"Nairobi\", \"Djibouti\"], \"correct\": 0 },\n { \"question\": \"South Africa\", \"options\": [\"Pretoria\", \"Johannesburg\", \"Cape Town\", \"Durban\"], \"correct\": 0 },\n{ \"question\": \"South Korea\", \"options\": [\"Seoul\", \"Pyongyang\", \"Tokyo\", \"Beijing\"], \"correct\": 0 },\n { \"question\": \"South Sudan\", \"options\": [\"Juba\", \"Khartoum\", \"Addis Ababa\", \"Kampala\"], \"correct\": 0 },\n { \"question\": \"Spain\", \"options\": [\"Madrid\", \"Lisbon\", \"Barcelona\", \"Paris\"], \"correct\": 0 },\n { \"question\": \"Sri Lanka\", \"options\": [\"Sri Jayawardenepura Kotte\", \"Colombo\", \"Male\", \"Thimphu\"], \"correct\": 0 },\n { \"question\": \"Sudan\", \"options\": [\"Khartoum\", \"Cairo\", \"Addis Ababa\", \"Tripoli\"], \"correct\": 0 },\n { \"question\": \"Suriname\", \"options\": [\"Paramaribo\", \"Georgetown\", \"Caracas\", \"Cayenne\"], \"correct\": 0 },\n { \"question\": \"Sweden\", \"options\": [\"Stockholm\", \"Oslo\", \"Copenhagen\", \"Helsinki\"], \"correct\": 0 },\n { \"question\": \"Switzerland\", \"options\": [\"Bern\", \"Zurich\", \"Geneva\", \"Vienna\"], \"correct\": 0 },\n { \"question\": \"Syria\", \"options\": [\"Damascus\", \"Beirut\", \"Amman\", \"Baghdad\"], \"correct\": 0 },\n { \"question\": \"Taiwan\", \"options\": [\"Taipei\", \"Beijing\", \"Shanghai\", \"Tokyo\"], \"correct\": 0 },\n { \"question\": \"Tajikistan\", \"options\": [\"Dushanbe\", \"Bishkek\", \"Tashkent\", \"Astana\"], \"correct\": 0 },\n { \"question\": \"Tanzania\", \"options\": [\"Dodoma\", \"Dar es Salaam\", \"Nairobi\", \"Kampala\"], \"correct\": 0 },\n { \"question\": \"Thailand\", \"options\": [\"Bangkok\", \"Phnom Penh\", \"Hanoi\", \"Yangon\"], \"correct\": 0 },\n { \"question\": \"Timor-Leste\", \"options\": [\"Dili\", \"Jakarta\", \"Bandar Seri Begawan\", \"Manila\"], \"correct\": 0 },\n { \"question\": \"Togo\", \"options\": [\"Lom\u00e9\", \"Accra\", \"Ouagadougou\", \"Abidjan\"], \"correct\": 0 },\n { \"question\": \"Tonga\", \"options\": [\"Nuku'alofa\", \"Suva\", \"Apia\", \"Port Vila\"], \"correct\": 0 },\n { \"question\": \"Trinidad and Tobago\", \"options\": [\"Port of Spain\", \"Kingston\", \"Bridgetown\", \"Castries\"], \"correct\": 0 },\n { \"question\": \"Tunisia\", \"options\": [\"Tunis\", \"Algiers\", \"Tripoli\", \"Cairo\"], \"correct\": 0 },\n { \"question\": \"Turkey\", \"options\": [\"Ankara\", \"Istanbul\", \"Izmir\", \"Antalya\"], \"correct\": 0 },\n { \"question\": \"Turkmenistan\", \"options\": [\"Ashgabat\", \"Tashkent\", \"Dushanbe\", \"Bishkek\"], \"correct\": 0 },\n{ \"question\": \"Tuvalu\", \"options\": [\"Funafuti\", \"Tarawa\", \"Majuro\", \"Palikir\"], \"correct\": 0 },\n { \"question\": \"Uganda\", \"options\": [\"Kampala\", \"Nairobi\", \"Kigali\", \"Dodoma\"], \"correct\": 0 },\n { \"question\": \"Ukraine\", \"options\": [\"Kyiv\", \"Minsk\", \"Moscow\", \"Warsaw\"], \"correct\": 0 },\n { \"question\": \"United Arab Emirates\", \"options\": [\"Abu Dhabi\", \"Dubai\", \"Doha\", \"Riyadh\"], \"correct\": 0 },\n { \"question\": \"United Kingdom\", \"options\": [\"London\", \"Edinburgh\", \"Cardiff\", \"Dublin\"], \"correct\": 0 },\n { \"question\": \"United States\", \"options\": [\"Washington, D.C.\", \"New York\", \"Los Angeles\", \"Chicago\"], \"correct\": 0 },\n { \"question\": \"Uruguay\", \"options\": [\"Montevideo\", \"Buenos Aires\", \"Santiago\", \"Asunci\u00f3n\"], \"correct\": 0 },\n { \"question\": \"Uzbekistan\", \"options\": [\"Tashkent\", \"Samarkand\", \"Bishkek\", \"Dushanbe\"], \"correct\": 0 },\n { \"question\": \"Vanuatu\", \"options\": [\"Port Vila\", \"Suva\", \"Nuku'alofa\", \"Apia\"], \"correct\": 0 },\n { \"question\": \"Vatican City\", \"options\": [\"Vatican City\", \"Rome\", \"San Marino\", \"Monaco\"], \"correct\": 0 },\n { \"question\": \"Venezuela\", \"options\": [\"Caracas\", \"Bogot\u00e1\", \"Lima\", \"Quito\"], \"correct\": 0 },\n { \"question\": \"Vietnam\", \"options\": [\"Hanoi\", \"Ho Chi Minh City\", \"Phnom Penh\", \"Bangkok\"], \"correct\": 0 },\n { \"question\": \"Yemen\", \"options\": [\"Sana'a\", \"Aden\", \"Muscat\", \"Riyadh\"], \"correct\": 0 },\n { \"question\": \"Zambia\", \"options\": [\"Lusaka\", \"Harare\", \"Maputo\", \"Gaborone\"], \"correct\": 0 },\n { \"question\": \"Zimbabwe\", \"options\": [\"Harare\", \"Lusaka\", \"Pretoria\", \"Maputo\"], \"correct\": 0 }\n\n\n\n\t\t\n\n ];\n\n function shuffleArray(array) {\n for (let i = array.length - 1; i > 0; i--) {\n const j = Math.floor(Math.random() * (i + 1));\n [array[i], array[j]] = [array[j], array[i]]; \/\/ Swap elements\n }\n }\n\n function startQuiz() {\n shuffleArray(questions); \/\/ Shuffle the questions before starting the quiz\n startButton.style.display = 'none';\n quizContainer.style.display = 'block';\n displayQuestion(); \/\/ Display the first question and its options\n}\n\n\n function displayQuestion() {\n if (currentQuestion < questions.length) {\n const q = questions[currentQuestion];\n questionElement.textContent = q.question;\n optionsContainer.innerHTML = ''; \/\/ Clear previous options\n\n let options = [...q.options]; \/\/ Copy the options\n shuffleArray(options); \/\/ Shuffle the copied options\n let correctOption = q.options[q.correct]; \/\/ Identify the correct option before shuffle\n q.correct = options.indexOf(correctOption); \/\/ Update the correct index in the shuffled array\n\n options.forEach((option, index) => {\n const button = document.createElement('button');\n button.className = 'option-button';\n button.textContent = option;\n button.onclick = () => selectOption(index); \/\/ Pass the index of the shuffled array\n button.style.backgroundColor = '#007BFF'; \/\/ Reset to default color\n button.disabled = false; \/\/ Enable the button\n button.style.cursor = 'pointer'; \/\/ Reset cursor to pointer\n optionsContainer.appendChild(button);\n });\n\t\tstartTimer();\n } else {\n resultDisplay.textContent = \"Quiz completed! Your final score: \" + score;\n startAgainButton.style.display = 'block';\n }\n}\n\nfunction startTimer() {\n timeLeft = Math.max(5, 10 - Math.floor(score \/ 50));\n \/\/ Decrease time by 1 second per 50 score\n timeDisplay.textContent = \"Time left: \" + timeLeft + \"s\";\n interval = setInterval(() => {\n timeLeft--;\n timeDisplay.textContent = \"Time left: \" + timeLeft + \"s\";\n if (timeLeft <= 0) {\n clearInterval(interval);\n timeDisplay.textContent = \"Time's up! Please start again.\";\n disableOptions();\n showStartAgain();\n }\n }, 1000);\n}\n\nfunction disableOptions() {\n const optionButtons = document.querySelectorAll('.option-button');\n optionButtons.forEach(button => {\n button.disabled = true; \/\/ Disable the button\n button.style.cursor = 'default'; \/\/ Change the cursor to default\n });\n}\n\nfunction showStartAgain() {\n startAgainButton.style.display = 'block';\n startAgainButton.onclick = () => window.location.reload();\n }\n\n\n\n\n function selectOption(selectedOption) {\n const optionButtons = document.querySelectorAll('.option-button');\n const correctAnswer = questions[currentQuestion].correct;\n\n \/\/ Stop the timer\n clearInterval(interval);\n\n \/\/ Disable all buttons after one is clicked to prevent multiple answers\n optionButtons.forEach(button => {\n button.disabled = true; \/\/ Disable the button\n button.style.cursor = 'default'; \/\/ Change the cursor to default\n });\n\n if (selectedOption === correctAnswer) {\n let oldScore = parseInt(document.getElementById('highScore').textContent);\n score += 10;\n\n if (score > oldScore) {\n updateHighScore(score); \/\/ Call to update the high score\n }\n resultDisplay.textContent = \"Correct! Your score: \" + score;\n optionButtons[selectedOption].style.backgroundColor = 'green'; \/\/ Set correct option to green\n setTimeout(() => nextQuestion(), 1000);\n } else {\n const correctOptionText = optionButtons[correctAnswer].textContent;\n resultDisplay.textContent = \"Wrong answer. The correct answer was: \" + correctOptionText + \". Your score: \" + score;\n optionButtons[selectedOption].style.backgroundColor = 'red'; \/\/ Set wrong option to red\n optionButtons[correctAnswer].style.backgroundColor = 'green'; \/\/ Highlight the correct option in green\n startAgainButton.style.display = 'block';\n }\n}\n\nfunction updateHighScore(newHighScore) {\nconst WP_AJAX_URL = 'https:\/\/shaplakanon.com\/learnwithfun\/wp-admin\/admin-ajax.php'; \/\/ Adjust the path as necessary depending on your site's URL structure\n const data = {\n action: 'update_high_score',\n high_score: newHighScore,\n post_id: '177',\n custom_field: 'cap_ghs'\n };\n\n fetch(WP_AJAX_URL, {\n method: 'POST',\n credentials: 'same-origin',\n headers: {\n 'Content-Type': 'application\/x-www-form-urlencoded',\n },\n body: new URLSearchParams(data)\n })\n .then(response => response.json())\n .then(data => console.log(data.message));\n}\n\n\n\n function nextQuestion() {\n currentQuestion++;\n displayQuestion();\n }\n\n startButton.onclick = startQuiz;\n startAgainButton.onclick = () => window.location.reload();\n});\n\n\n <\/script>\n<\/body>\n<\/html>\n","protected":false},"excerpt":{"rendered":"<p>Country and Capital City Quiz Start Quiz Country and Capital Quiz High Score: Start Again<\/p>\n","protected":false},"author":1,"featured_media":480,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_canvas","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-177","page","type-page","status-publish","has-post-thumbnail","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Play Country and Capital City Quiz - Learn with Fun<\/title>\n<meta name=\"description\" content=\"Test your knowledge of world capitals with our fun and informative country capital quiz. Challenge yourself and see how many countries and their capital cities you can identify correctly. This quiz is perfect for geography buffs and anyone looking to expand their knowledge of the world. Play now and learn something new!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/shaplakanon.com\/learnwithfun\/country-and-capital-city\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Play Country and Capital City Quiz - Learn with Fun\" \/>\n<meta property=\"og:description\" content=\"Test your knowledge of world capitals with our fun and informative country capital quiz. Challenge yourself and see how many countries and their capital cities you can identify correctly. This quiz is perfect for geography buffs and anyone looking to expand their knowledge of the world. Play now and learn something new!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/shaplakanon.com\/learnwithfun\/country-and-capital-city\/\" \/>\n<meta property=\"og:site_name\" content=\"Learn with Fun\" \/>\n<meta property=\"article:modified_time\" content=\"2025-02-25T20:34:20+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/shaplakanon.com\/learnwithfun\/wp-content\/uploads\/sites\/4212\/2023\/05\/world-map.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"610\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/shaplakanon.com\/learnwithfun\/country-and-capital-city\/\",\"url\":\"https:\/\/shaplakanon.com\/learnwithfun\/country-and-capital-city\/\",\"name\":\"Play Country and Capital City Quiz - Learn with Fun\",\"isPartOf\":{\"@id\":\"https:\/\/shaplakanon.com\/learnwithfun\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/shaplakanon.com\/learnwithfun\/country-and-capital-city\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/shaplakanon.com\/learnwithfun\/country-and-capital-city\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/shaplakanon.com\/learnwithfun\/wp-content\/uploads\/sites\/4212\/2023\/05\/world-map.png\",\"datePublished\":\"2022-11-10T06:41:33+00:00\",\"dateModified\":\"2025-02-25T20:34:20+00:00\",\"description\":\"Test your knowledge of world capitals with our fun and informative country capital quiz. Challenge yourself and see how many countries and their capital cities you can identify correctly. This quiz is perfect for geography buffs and anyone looking to expand their knowledge of the world. Play now and learn something new!\",\"breadcrumb\":{\"@id\":\"https:\/\/shaplakanon.com\/learnwithfun\/country-and-capital-city\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/shaplakanon.com\/learnwithfun\/country-and-capital-city\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/shaplakanon.com\/learnwithfun\/country-and-capital-city\/#primaryimage\",\"url\":\"https:\/\/shaplakanon.com\/learnwithfun\/wp-content\/uploads\/sites\/4212\/2023\/05\/world-map.png\",\"contentUrl\":\"https:\/\/shaplakanon.com\/learnwithfun\/wp-content\/uploads\/sites\/4212\/2023\/05\/world-map.png\",\"width\":1024,\"height\":610},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/shaplakanon.com\/learnwithfun\/country-and-capital-city\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/shaplakanon.com\/learnwithfun\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Country and Capital City\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/shaplakanon.com\/learnwithfun\/#website\",\"url\":\"https:\/\/shaplakanon.com\/learnwithfun\/\",\"name\":\"Learn with Fun\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/shaplakanon.com\/learnwithfun\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Play Country and Capital City Quiz - Learn with Fun","description":"Test your knowledge of world capitals with our fun and informative country capital quiz. Challenge yourself and see how many countries and their capital cities you can identify correctly. This quiz is perfect for geography buffs and anyone looking to expand their knowledge of the world. Play now and learn something new!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/shaplakanon.com\/learnwithfun\/country-and-capital-city\/","og_locale":"en_US","og_type":"article","og_title":"Play Country and Capital City Quiz - Learn with Fun","og_description":"Test your knowledge of world capitals with our fun and informative country capital quiz. Challenge yourself and see how many countries and their capital cities you can identify correctly. This quiz is perfect for geography buffs and anyone looking to expand their knowledge of the world. Play now and learn something new!","og_url":"https:\/\/shaplakanon.com\/learnwithfun\/country-and-capital-city\/","og_site_name":"Learn with Fun","article_modified_time":"2025-02-25T20:34:20+00:00","og_image":[{"width":1024,"height":610,"url":"http:\/\/shaplakanon.com\/learnwithfun\/wp-content\/uploads\/sites\/4212\/2023\/05\/world-map.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/shaplakanon.com\/learnwithfun\/country-and-capital-city\/","url":"https:\/\/shaplakanon.com\/learnwithfun\/country-and-capital-city\/","name":"Play Country and Capital City Quiz - Learn with Fun","isPartOf":{"@id":"https:\/\/shaplakanon.com\/learnwithfun\/#website"},"primaryImageOfPage":{"@id":"https:\/\/shaplakanon.com\/learnwithfun\/country-and-capital-city\/#primaryimage"},"image":{"@id":"https:\/\/shaplakanon.com\/learnwithfun\/country-and-capital-city\/#primaryimage"},"thumbnailUrl":"https:\/\/shaplakanon.com\/learnwithfun\/wp-content\/uploads\/sites\/4212\/2023\/05\/world-map.png","datePublished":"2022-11-10T06:41:33+00:00","dateModified":"2025-02-25T20:34:20+00:00","description":"Test your knowledge of world capitals with our fun and informative country capital quiz. Challenge yourself and see how many countries and their capital cities you can identify correctly. This quiz is perfect for geography buffs and anyone looking to expand their knowledge of the world. Play now and learn something new!","breadcrumb":{"@id":"https:\/\/shaplakanon.com\/learnwithfun\/country-and-capital-city\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/shaplakanon.com\/learnwithfun\/country-and-capital-city\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/shaplakanon.com\/learnwithfun\/country-and-capital-city\/#primaryimage","url":"https:\/\/shaplakanon.com\/learnwithfun\/wp-content\/uploads\/sites\/4212\/2023\/05\/world-map.png","contentUrl":"https:\/\/shaplakanon.com\/learnwithfun\/wp-content\/uploads\/sites\/4212\/2023\/05\/world-map.png","width":1024,"height":610},{"@type":"BreadcrumbList","@id":"https:\/\/shaplakanon.com\/learnwithfun\/country-and-capital-city\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/shaplakanon.com\/learnwithfun\/"},{"@type":"ListItem","position":2,"name":"Country and Capital City"}]},{"@type":"WebSite","@id":"https:\/\/shaplakanon.com\/learnwithfun\/#website","url":"https:\/\/shaplakanon.com\/learnwithfun\/","name":"Learn with Fun","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/shaplakanon.com\/learnwithfun\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/shaplakanon.com\/learnwithfun\/wp-json\/wp\/v2\/pages\/177","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/shaplakanon.com\/learnwithfun\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/shaplakanon.com\/learnwithfun\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/shaplakanon.com\/learnwithfun\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/shaplakanon.com\/learnwithfun\/wp-json\/wp\/v2\/comments?post=177"}],"version-history":[{"count":98,"href":"https:\/\/shaplakanon.com\/learnwithfun\/wp-json\/wp\/v2\/pages\/177\/revisions"}],"predecessor-version":[{"id":704,"href":"https:\/\/shaplakanon.com\/learnwithfun\/wp-json\/wp\/v2\/pages\/177\/revisions\/704"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/shaplakanon.com\/learnwithfun\/wp-json\/wp\/v2\/media\/480"}],"wp:attachment":[{"href":"https:\/\/shaplakanon.com\/learnwithfun\/wp-json\/wp\/v2\/media?parent=177"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}