Capitals & Countries

April 24, 2018 10:09 am Published by Leave your thoughts
Follow EyWiah.com National On Telegram

Capitals & Countries

#myDIV {
font-size:40px;
font-weight: bold;
-webkit-animation: mymove 5s; /* Chrome, Safari, Opera */
animation: mymove 1s;
font-family: ‘Courier New’;
}

/* Chrome, Safari, Opera */
@-webkit-keyframes mymove {
from {background-color: red;}
to {background-color: blue;}
}

/* Standard syntax */
@keyframes mymove {
from {background-color: red;}
to {background-color: blue;}
}

body{
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
#table_1{
background-color: white;
border: 4px solid black;
color: purple;
text-align: center;
margin:10px;
}
#center001{
text-align: center;
background-color: #FF1493;
font-weight: bold;
font-size:20px;
margin:8px;
color: white;
font-family: ‘Courier New’;
}
#at{
color: red;
margin:12px;
font-weight: bold;
font-family: ‘Verdana’;
}
#question01{
font-size:20px;
font-weight: bold;
margin:8px;
font-family: “Georgia”;
}
#congrats
{
font-weight: bold;
color: green;
font-family: ‘Impact’;
}
#b001
{
margin:8px;
font-weight: bold;
font-size: 35px;
color: black;
font-family: ‘Comic Sans MS’;
}

#n001
{
margin:8px;
background: #2ECC71;
-moz-box-shadow: 0 0 5px #666;
-webkit-box-shadow: 0 0 5px #666;
margin: auto;
font-family: ‘Comic Sans MS’;
}
#n002
{
margin:8px;
background: #FF5733;
-moz-box-shadow: 0 0 5px #666;
-webkit-box-shadow: 0 0 5px #666;
margin: auto;
font-family: ‘Comic Sans MS’;
}

#msg01
{
margin:8px;
font-weight: bold;
font-size: medium;
color: green;
font-size:20px;
}
button
{

background-color: #00FF7C;
border: 1px solid #00FF7C;
border-radius: 5px;
box-shadow: 0px 5px 0px #00823F;
font-size:20px;
font-weight: bold;
margin:8px;
font-family: ‘Trebuchet MS’;
}

var b = 0;
b++;
var c = 4;
c–;
var d = 0;
d++;

document.onkeydown = function (e) {
e = e || window.event;//Get event
if (e.ctrlKey) {
var c = e.which || e.keyCode;//Get key code
switch (c) {
case 83://Block Ctrl+S
e.preventDefault();
e.stopPropagation();
break;
case 80://Block Ctrl+P
e.preventDefault();
e.stopPropagation();
break;
case 85://Block Ctrl+S
e.preventDefault();
e.stopPropagation();
break;
case 123://Block Ctrl+S
return false;
break;

}
}
};

//disable cut copy past
var message = “”;
function clickIE() { if (document.all) { (message); return false; } }
function clickNS(e) {
if(document.layers || (document.getElementById && !document.all)) {
if (e.which == 2 || e.which == 3) { (message); return false; }
}
}
if (document.layers)
{ document.captureEvents(Event.MOUSEDOWN); document.onmousedown = clickNS; }
else { document.onmouseup = clickNS; document.oncontextmenu = clickIE; }
document.oncontextmenu = new Function(“return false”)

//for disable select option
document.onselectstart = new Function(‘return false’);
function dMDown(e) { return false; }
function dOClick() { return true; }
document.onmousedown = dMDown;
document.onclick = dOClick;

function disableselect(e){
return false
}
function reEnable(){
return true
}
document.onselectstart=new Function (“return false”)
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}

window.addEventListener(‘selectstart’, function(e){ e.preventDefault(); });

function mousehandler(e) {
var myevent = (isNS) ? e : event;
var eventbutton = (isNS) ? myevent.which : myevent.button;
if ((eventbutton == 2) || (eventbutton == 3)) return false;
}
document.oncontextmenu = mischandler;
document.onmousedown = mousehandler;
document.onmouseup = mousehandler;
function disableCtrlKeyCombination(e) {
var forbiddenKeys = new Array(“a”, “s”, “c”, “x”,”u”);
var key;
var isCtrl;
if (window.event) {
key = window.event.keyCode;
//IE
if (window.event.ctrlKey)
isCtrl = true;
else
isCtrl = false;
}
else {
key = e.which;
//firefox
if (e.ctrlKey)
isCtrl = true;
else
isCtrl = false;
}
if (isCtrl) {
for (i = 0; i < forbiddenKeys.length; i++) { //case-insensitive comparation if (forbiddenKeys[i].toLowerCase() == String.fromCharCode(key).toLowerCase()) { return false; } } } return true; } function begin001(){ document.getElementById("question01").innerHTML = "Cairo is the capital of which country?" + " ” + “A. Haiti
” + “B. Egypt
” + “C. Georgia
“+ “D. Iceland
“;
document.getElementById(“starter01”).innerHTML = “”;
document.getElementById(“q001”).innerHTML = “Question No : 1”;
document.getElementById(“n001”).innerHTML = “”;
document.getElementById(“n002”).innerHTML = “”;
}

function function1()
{
document.getElementById(“question01”).innerHTML = “GOOD !”;
document.getElementById(“starter01”).innerHTML = “”;
document.getElementById(“n001”).innerHTML = “Next”;
document.getElementById(“n002”).innerHTML = “Go Back !”;
}

function function2()
{
document.getElementById(“question01”).innerHTML = “INCORRECT Answer
CORRECT was : B. Egypt “;
document.getElementById(“starter01”).innerHTML = “”;
document.getElementById(“n001”).innerHTML = “Next”;
document.getElementById(“n002”).innerHTML = “Go Back !”;
document.getElementById(“attempts”).innerHTML = “Attempts : ” + c–;
if(c < 0) { document.getElementById("question01").innerHTML = ""; document.getElementById("msg01").innerHTML = "You lost the game.You can only answer incorrectly three times. To play again Click Here“;
document.getElementById(“n001”).innerHTML = “”;
document.getElementById(“n002”).innerHTML = “”;
}
}

function nxt1(){
document.getElementById(“n001”).innerHTML = “”;
document.getElementById(“n002”).innerHTML = “”;
document.getElementById(“question01”).innerHTML = “Algiers is the capital of which country?” + “

” + “A. United States of America
” + “B. Algeria
” + “C. Italy
“+ “D. Netherlands
“;
document.getElementById(“starter01”).innerHTML = “”;
document.getElementById(“q001”).innerHTML = “Question No : 2”;
}

function function3()
{
document.getElementById(“n001”).innerHTML = “”;
document.getElementById(“n002”).innerHTML = “”;
document.getElementById(“question01”).innerHTML = “GOOD Going ! !”;
document.getElementById(“starter01”).innerHTML = “”;
document.getElementById(“n001”).innerHTML = “Next”;
document.getElementById(“n002”).innerHTML = “Go Back !”;
}

function function4()
{document.getElementById(“n001”).innerHTML = “”;
document.getElementById(“n002”).innerHTML = “”;
document.getElementById(“question01”).innerHTML = “INCORRECT Answer
CORRECT was : B. Algeria “;
document.getElementById(“starter01”).innerHTML = “”;
document.getElementById(“n001”).innerHTML = “Next”;
document.getElementById(“n002”).innerHTML = “Go Back !”;
document.getElementById(“attempts”).innerHTML = “Attempts : ” + c–;
if(c < 0) { document.getElementById("question01").innerHTML = ""; document.getElementById("msg01").innerHTML = "You lost the game.You can only answer incorrectly three times. To play again Click Here“;
document.getElementById(“n001”).innerHTML = “”;
document.getElementById(“n002”).innerHTML = “”;
}
}

function nxt2(){
document.getElementById(“n001”).innerHTML = “”;
document.getElementById(“n002”).innerHTML = “”;
document.getElementById(“question01”).innerHTML = “Tehran is the capital of which country ?” + “

” + “A. Iraq
” + “B. Kosovo
” + “C. Kenya
“+ “D. Iran
“;
document.getElementById(“starter01”).innerHTML = “”;
document.getElementById(“q001”).innerHTML = “Question No : 3”;
}

function function5()
{

document.getElementById(“question01”).innerHTML = “Playing Well !”;
document.getElementById(“starter01”).innerHTML = “”;
document.getElementById(“n001”).innerHTML = “Next”;
document.getElementById(“n002”).innerHTML = “Go Back !”;
}

function function6()
{
document.getElementById(“question01”).innerHTML = “INCORRECT Answer
CORRECT was : D. Iran “;
document.getElementById(“starter01”).innerHTML = “”;
document.getElementById(“n001”).innerHTML = “Next”;
document.getElementById(“n002”).innerHTML = “Go Back !”;
document.getElementById(“attempts”).innerHTML = “Attempts : ” + c–;
if(c < 0) { document.getElementById("question01").innerHTML = ""; document.getElementById("msg01").innerHTML = "You lost the game.You can only answer incorrectly three times. To play again Click Here“;
document.getElementById(“n001”).innerHTML = “”;
document.getElementById(“n002”).innerHTML = “”;
}
}

function nxt3(){
document.getElementById(“n001”).innerHTML = “”;
document.getElementById(“n002”).innerHTML = “”;
document.getElementById(“question01”).innerHTML = “Washington D.C. is the capital of which country?” + “

” + “A. Pakistan
” + “B. Russia
” + “C. Turkey
“+ “D. United States of America
“;
document.getElementById(“starter01”).innerHTML = “”;
document.getElementById(“q001”).innerHTML = “Question No : 4”;
}

function function7()
{

document.getElementById(“question01”).innerHTML = “Wow ! Nice Player !”;
document.getElementById(“starter01”).innerHTML = “”;
document.getElementById(“n001”).innerHTML = “Next”;
document.getElementById(“n002”).innerHTML = “Go Back !”;
}

function function8()
{
document.getElementById(“question01”).innerHTML = “INCORRECT Answer
CORRECT was : D. United States of America “;
document.getElementById(“starter01”).innerHTML = “”;
document.getElementById(“n001”).innerHTML = “Next”;
document.getElementById(“n002”).innerHTML = “Go Back !”;
document.getElementById(“attempts”).innerHTML = “Attempts : ” + c–;
if(c < 0) { document.getElementById("question01").innerHTML = ""; document.getElementById("msg01").innerHTML = "You lost the game.You can only answer incorrectly three times. To play again Click Here“;
document.getElementById(“n001”).innerHTML = “”;
document.getElementById(“n002”).innerHTML = “”;
}
}

function nxt4(){
document.getElementById(“n001”).innerHTML = “”;
document.getElementById(“n002”).innerHTML = “”;
document.getElementById(“question01”).innerHTML = “Amsterdam is the capital of which country?” + “

” + “A. Philippines
” + “B. Japan
” + “C. Netherlands
“+ “D. Canada
“;
document.getElementById(“starter01”).innerHTML = “”;
document.getElementById(“q001”).innerHTML = “Question No : 5”;
}

function function9()
{

document.getElementById(“question01”).innerHTML = “Very GOOD !!!”;
document.getElementById(“starter01”).innerHTML = “”;
document.getElementById(“n001”).innerHTML = “Next”;
document.getElementById(“n002”).innerHTML = “Go Back !”;
}

function function10()
{
document.getElementById(“question01”).innerHTML = “INCORRECT Answer
CORRECT was : C. Netherlands “;
document.getElementById(“starter01”).innerHTML = “”;
document.getElementById(“n001”).innerHTML = “Next”;
document.getElementById(“n002”).innerHTML = “Go Back !”;
document.getElementById(“attempts”).innerHTML = “Attempts : ” + c–;
if(c < 0) { document.getElementById("question01").innerHTML = ""; document.getElementById("msg01").innerHTML = "You lost the game.You can only answer incorrectly three times. To play again Click Here“;
document.getElementById(“n001”).innerHTML = “”;
document.getElementById(“n002”).innerHTML = “”;
}
}

function nxt5(){
document.getElementById(“n001”).innerHTML = “”;
document.getElementById(“n002”).innerHTML = “”;
document.getElementById(“question01”).innerHTML = “Santiago is the capital of which country?” + “

” + “A. Croatia
” + “B. Cuba
” + “C. Chile
“+ “D. Congo
“;
document.getElementById(“starter01”).innerHTML = “”;
document.getElementById(“q001”).innerHTML = “Question No : 6”;
}

function function11()
{

document.getElementById(“question01”).innerHTML = “Wow Very Good Player !!!”;
document.getElementById(“starter01”).innerHTML = “”;
document.getElementById(“n001”).innerHTML = “Next”;
document.getElementById(“n002”).innerHTML = “Go Back !”;
}

function function12()
{
document.getElementById(“question01”).innerHTML = “INCORRECT Answer
CORRECT was : C. Chile “;
document.getElementById(“starter01”).innerHTML = “”;
document.getElementById(“n001”).innerHTML = “Next”;
document.getElementById(“n002”).innerHTML = “Go Back !”;
document.getElementById(“attempts”).innerHTML = “Attempts : ” + c–;
if(c < 0) { document.getElementById("question01").innerHTML = ""; document.getElementById("msg01").innerHTML = "You lost the game.You can only answer incorrectly three times. To play again Click Here“;
document.getElementById(“n001”).innerHTML = “”;
document.getElementById(“n002”).innerHTML = “”;
}
}

function nxt6(){
document.getElementById(“n001”).innerHTML = “”;
document.getElementById(“n002”).innerHTML = “”;
document.getElementById(“question01”).innerHTML = “Buenos Aires is the capital of which country?” + “

” + “A. Armenia
” + “B. Bolivia
” + “C. Bermuda
“+ “D. Argentina
“;
document.getElementById(“starter01”).innerHTML = “”;
document.getElementById(“q001”).innerHTML = “Question No : 7”;
}

function function13()
{

document.getElementById(“question01”).innerHTML = “Go To Next Well Playing !”;
document.getElementById(“starter01”).innerHTML = “”;
document.getElementById(“n001”).innerHTML = “Next”;
document.getElementById(“n002”).innerHTML = “Go Back !”;
}

function function14()
{
document.getElementById(“question01”).innerHTML = “INCORRECT Answer
CORRECT was : D. Argentina “;
document.getElementById(“starter01”).innerHTML = “”;
document.getElementById(“n001”).innerHTML = “Next”;
document.getElementById(“n002”).innerHTML = “Go Back !”;
document.getElementById(“attempts”).innerHTML = “Attempts : ” + c–;
if(c < 0) { document.getElementById("question01").innerHTML = ""; document.getElementById("msg01").innerHTML = "You lost the game.You can only answer incorrectly three times. To play again Click Here“;
document.getElementById(“n001”).innerHTML = “”;
document.getElementById(“n002”).innerHTML = “”;
}
}

function nxt7(){
document.getElementById(“n001”).innerHTML = “”;
document.getElementById(“n002”).innerHTML = “”;
document.getElementById(“question01”).innerHTML = “Stockholm is the capital of which country?” + “

” + “A. Iraq
” + “B. Pakistan
” + “C. Sweden
“+ “D. United Kingdom
“;
document.getElementById(“starter01”).innerHTML = “”;
document.getElementById(“q001”).innerHTML = “Question No : 8”;
}

function function15()
{

document.getElementById(“question01”).innerHTML = “GOOD Good !!!”;
document.getElementById(“starter01”).innerHTML = “”;
document.getElementById(“n001”).innerHTML = “Next”;
document.getElementById(“n002”).innerHTML = “Go Back !”;
}

function function16()
{
document.getElementById(“question01”).innerHTML = “INCORRECT Answer
CORRECT was : C. Sweden “;
document.getElementById(“starter01”).innerHTML = “”;
document.getElementById(“n001”).innerHTML = “Next”;
document.getElementById(“n002”).innerHTML = “Go Back !”;
document.getElementById(“attempts”).innerHTML = “Attempts : ” + c–;
if(c < 0) { document.getElementById("question01").innerHTML = ""; document.getElementById("msg01").innerHTML = "You lost the game.You can only answer incorrectly three times. To play again Click Here“;
document.getElementById(“n001”).innerHTML = “”;
document.getElementById(“n002”).innerHTML = “”;
}
}

function nxt8(){
document.getElementById(“n001”).innerHTML = “”;
document.getElementById(“n002”).innerHTML = “”;
document.getElementById(“question01”).innerHTML = “Berlin is the capital of which country?” + “

” + “A. Iraq
” + “B. Russia
” + “C. Germany
“+ “D. Sweden
“;
document.getElementById(“starter01”).innerHTML = “”;
document.getElementById(“q001”).innerHTML = “Question No : 9”;
}

function function17()
{

document.getElementById(“question01”).innerHTML = “Very GOOD !!”;
document.getElementById(“starter01”).innerHTML = “”;
document.getElementById(“n001”).innerHTML = “Next”;
document.getElementById(“n002”).innerHTML = “Go Back !”;
}

function function18()
{
document.getElementById(“question01”).innerHTML = “INCORRECT Answer
CORRECT was : C. Germany “;
document.getElementById(“starter01”).innerHTML = “”;
document.getElementById(“n001”).innerHTML = “Next”;
document.getElementById(“n002”).innerHTML = “Go Back !”;
document.getElementById(“attempts”).innerHTML = “Attempts : ” + c–;
if(c < 0) { document.getElementById("question01").innerHTML = ""; document.getElementById("msg01").innerHTML = "You lost the game.You can only answer incorrectly three times. To play again Click Here“;
document.getElementById(“n001”).innerHTML = “”;
document.getElementById(“n002”).innerHTML = “”;
}
}

function nxt9(){
document.getElementById(“n001”).innerHTML = “”;
document.getElementById(“n002”).innerHTML = “”;
document.getElementById(“question01”).innerHTML = “Canberra is the capital of which country ?” + “

” + “A. Algeria
” + “B. Cuba
” + “C. Turkey
“+ “D. Australia
“;
document.getElementById(“starter01”).innerHTML = “”;
document.getElementById(“q001”).innerHTML = “Question No : 10”;
}

function function19()
{

document.getElementById(“question01”).innerHTML = “Excellent !!!”;
document.getElementById(“starter01”).innerHTML = “”;
document.getElementById(“n001”).innerHTML = “Next”;
document.getElementById(“n002”).innerHTML = “Go Back !”;
}

function function20()
{
document.getElementById(“question01”).innerHTML = “INCORRECT Answer
CORRECT was : D. Australia “;
document.getElementById(“starter01”).innerHTML = “”;
document.getElementById(“n001”).innerHTML = “Next”;
document.getElementById(“n002”).innerHTML = “Go Back !”;
document.getElementById(“attempts”).innerHTML = “Attempts : ” + c–;
if(c < 0) { document.getElementById("question01").innerHTML = ""; document.getElementById("msg01").innerHTML = "You lost the game.You can only answer incorrectly three times. To play again Click Here“;
document.getElementById(“n001”).innerHTML = “”;
document.getElementById(“n002”).innerHTML = “”;
}
}

function nxt10()
{

if(c == 3)
{
document.getElementById(“question01”).innerHTML = “
Your Score : 10/10″+”
Excellent !”+”

Congratulations!

“+”
You have successfully completed the game. “;
document.getElementById(“starter01”).innerHTML = “”;
document.getElementById(“q001”).innerHTML = “”;
document.getElementById(“n001”).innerHTML = “”;
document.getElementById(“n002”).innerHTML = “”;
}

else if(c == 2)
{
document.getElementById(“question01”).innerHTML = “
Your Score : 9/10″+”
Very GOOD !”+”

Congratulations!

“+”
You have successfully completed the game. “;
document.getElementById(“starter01”).innerHTML = “”;
document.getElementById(“q001”).innerHTML = “”;
document.getElementById(“n001”).innerHTML = “”;
document.getElementById(“n002”).innerHTML = “”;
}

else if(c == 1)
{
document.getElementById(“question01”).innerHTML = “
Your Score : 8/10″+”
GOOD !”+”

Congratulations!

“+”
You have successfully completed the game. “;
document.getElementById(“starter01”).innerHTML = “”;
document.getElementById(“q001”).innerHTML = “”;
document.getElementById(“n001”).innerHTML = “”;
document.getElementById(“n002”).innerHTML = “”;
}

else
{
document.getElementById(“question01”).innerHTML = “
Your Score : 7/10″+”
Well TRY !”+”

Congratulations!

“+”
You have successfully completed the game. “;
document.getElementById(“starter01”).innerHTML = “”;
document.getElementById(“q001”).innerHTML = “”;
document.getElementById(“n001”).innerHTML = “”;
document.getElementById(“n002”).innerHTML = “”;
}
}

  • There are 10 questions in this game.
  • One of the options given is to select as correct answer.
  • You can answer incorrectly three times.

Capitals & Countries

Question No : 0
Attempts : 4

To START Exam Click Here

Categorised in:

This post was written by eywiah.com

Leave a Reply

Your email address will not be published. Required fields are marked *