$(document).ready(function(){
var userAnswer;
var answer;
var questionNumber = 0;
var score = 0;
var questions = [
{
question: 'Which of these domesticated fruits was first brought to the Americas by European settlers during the period of Colonization?',
choices: ['Tomatoes', 'Bananas', 'Blueberries', 'Sugarplums'],
answer: 'b',
explanation: 'Bananas are a fruit native to Southeast Asia and were brough to the Americas by European settlers during the period of colonization.'
}, {
question: 'Who was first to discover the Americas?',
choices: ['Christopher Columbus', 'Leif Ericson', 'Amerigo Vespucci', 'Ice-age nomads whose descendents would become Native Americans'],
answer: 'd',
explanation: 'Ancient nomads. Duh.'
}, {
question: 'What Native American political group was cited by the Congress as an influence on the Constitution and Bill of Rights?',
choices: ['Iriquois League', 'Sioux Nation', 'Creole Clan', 'Navajo Nation'],
answer: 'a',
explanation: 'The Iriquois Leage was cited as an influence on the Constitution by a 1988 Congressional resolution, but this assertion is challenged by some historians.'
}, {
question: 'Which of these foods was imported by Europeans and, initially, only valued in Italy for its ornamental appeal?',
choices: ['Wheatgrass', 'Basil', 'Tomatoes', 'Raspberries'],
answer: 'c',
explanation: 'The Italians did not incorporate tomatoes into their many famous sauces until many years after their import from the Americas.'
}, {
question: 'Which of these famous diseases was brought to the Americas by Europeans, with devastating consequences for the native population?',
choices: ['Syphillis', 'Small Pox', 'The common cold', 'All of the above'],
answer: 'd',
explanation: 'All of the above. The European immune system, subject to untold centuries of filth and disease, was simply more equipped to fight off these maladies than the cleanly, geographically isolated Native...
Please Whitelist JSFiddle in your content blocker.
Help keep JSFiddle free for always by one of two ways:
Whitelist JSFiddle in your content blocker (two clicks)
Go PRO and get access to additional PRO features →
Join the 4+ million users, and keep the JSFiddle dream alive.
Ad-free
All ads in the editor and listing pages are turned completely off.
Use pre-released features
You get to try and use features (like the Palette Color Generator) months before everyone else.
Fiddle collections
Sort and categorize your Fiddles into multiple collections.
Private collections and fiddles
You can make as many Private Fiddles, and Private Collections as you wish!
Console
Debug your Fiddle with a minimal built-in JavaScript console.