'; for (var i = 0; i < quiz.length; i++) { if (quiz[i].isCorrect()) correct++; } var score = Math.round((correct / quiz.length) * 100); correctPage += 'Score: ' + score + ' %'; if (correct < quiz.length) { correctPage += ifWrong; for (var i = 0; i < quiz.length; i++) { if (!quiz[i].isCorrect()) { correctPage += (i + 1) + '. ' + quiz[i].userChoices[quiz[i].correctAnswer] + '
'; } } } else correctPage += ifAced; correctPage += ''; correctwin = window.open ('', '', 'height=300,width=300,scrollbars=yes'); if (correctwin.opener == null) correctwin.opener = window; correctwin.location = 'javascript:opener.correctPage'; } // Message to display if quiz is aced. var ifAced = "

Well done, all the answers are correct!

"; // Message to display if any are wrong. var ifWrong = "

Here are the correct answers to the questions you got wrong:

"; // Create four question objects... quiz = new makeArray(10); quiz[0] = new makeQuestion("Herodotus claimed the outer walls of Babylon were", 0, //Wich answer is right. 0= first, 1= second etc. "56 miles in length", "33 miles in lenght", "135 miles in lenght"); quiz[1] = new makeQuestion("Accounts indicate that the garden was built by", 1, "an unknown king", "King Nebuchadnezzar", "Alexander the Great"); quiz[2] = new makeQuestion("Lifting the water far into the air so it could flow down through the terraces, watering the plants at each level was probably done by", 1, "slaves carrying the water", "means of a chain pump", "shamans regulary asking the gods for rain"); quiz[3] = new makeQuestion("Since stone was difficult to get on the Mesopotamian plain, most of the architecture in Babel utilized", 2, "iron", "glass", "brick"); quiz[4] = new makeQuestion("How big were the gardens?", 0, "about 400 feet wide by 400 feet long and more than 80 feet high", "about 400 feet wide by 400 feet long and 320 feet high", "noone really knows"); quiz[5] = new makeQuestion("While excavating the Southern Citadel, Koldewey discovered", 1, "250 skeletons", "a basement with fourteen large rooms with stone arch ceilings", "some fossils of the plants thet grew in the gardens"); quiz[6] = new makeQuestion("The gardens were designed as a", 0, "present for Queen Amyitis", "tourist magnet", "resting place for the king"); quiz[7] = new makeQuestion("Did Herodotus mention The Hanging Gardens of Babylon in his works?", 1, "no", "yes"); quiz[8] = new makeQuestion("What was one of the questions that occurred to German archaeologist Robert Koldewey?", 0, "did the Gardens really exist", "hat was used to build the walls", "When was it really buil"); quiz[9] = new makeQuestion("Where was the water for the garden from?", 2, "A nearby lake", "rain", "Euphrates River"); // --> Take this quiz to test your knowledge of the Hanging Gardens of Babylon!

Correct Quiz

Click here to start again