background = '#1f7a1f'
element.addEventListener("mouseover", function() {
element.style.backgroundColor = "#0f6a0f";
})
element.addEventListener("mouseout", function() {
element.style.backgroundColor = "#1f7a1f";
})
submit.innerText = "Next";
}
})
}
}
}
const questions = [
{
question:'When did Soviet Union collape?',
answers:[
{text: 'In 1995', correct: false},
{text: 'In 1991', correct: true},
{text: 'In 1900', correct: false},
{text: 'In 1999', correct: false}
]
},
{
question:'Which country has the largest population?',
answers:[
{text: 'India', correct: false},
{text: 'Russia', correct: false},
{text: 'Canada', correct: false},
{text: 'China', correct: true}
]
},
{
question:'What is the capital of Romania?',
answers:[
{text: 'Bucharest', correct: true},
{text: 'Saipan', correct: false},
{text: 'Khartoum', correct: false},
{text: 'Tiraspol', correct: false}
]
},
{
question:'Which is the only continent that covers four hemispheres?',
answers:[
{text: 'North America', correct: false},
{text: 'South America', correct: false},
{text: 'Africa', correct: true},
{text: 'Australlia', correct: false}
]
},
{
question:'Which of these countries is in European Union?',
answers:[
{text: 'Lithuania', correct: true},
{text: 'Georgia', correct: false},
{text: 'Serbia', correct: false},
{text: 'Montenegro', correct: false}
]
},
{
question:'What language is spoken in Austria?',
answers:[
{text: 'Austrian', correct: false},
{text: 'French', correct: false},
{text: 'German', correct: true},
{text: 'Australlian', correct: false}
]
},
{
question:'What is the height of Everest?',
answers:[
{text: '5,924 m', correct: false},
{text: '2,754 m', correct: false},
{text: '8,848 m', correct: true},
{text: '2,061 m', correct: false}
]
},
{
question:'What is the capital of Czechia?',
answers:[
{text: 'Brno', correct: false},
{text: 'Bratislava', correct: false},
{text: 'Leipzig', correct: false},
{text: 'Prague', correct: true}
]
},
{
question:'What is the capital of Ukraine?',
answers:[
{text: 'Odessa', correct: false},
{text: 'Kiev', correct: true},
{text: 'Kharkiv', correct: false},
{text: 'Minsk', correct: false}
]
},
{
question:'What letter does not appear in a US state?',
answers:[
{text: 'W', correct: false},
{text: 'X', correct: false},
{text: 'G', correct: false},
{text: 'Q', correct: true}
]
},
{
question:'What is the population of Great Britian?',
answers:[
{text: '66 million', correct: true},
{text: '45 million', correct: false},
{text: '94 million', correct: false},
{text: '56 million', correct: false}
]
},
{
question:'What is the second largest city in India? ',
answers:[
{text: 'Delhi', correct: true},
{text: 'Bengaluru', correct: false},
{text: 'Visakhapatnam', correct: false},
{text: 'Sanganak', correct