var init = {
‘questions’: [
{
‘question’: ‘jQuery is a…’,
‘answers’: [‘JavaScript library’,’Ruby Gem’,’PHP Framework’,’None of the above’],
‘correctAnswer’: 1
},
{
‘question’: ‘X comes after?’,
‘answers’: [‘P’,’W’,’Y’,’v’],
‘correctAnswer’: 2
},
{
‘question’: ‘Meh stands for..’,
‘answers’: [‘Eh’,’/Sigh’,’What?’,’Whatever’],
‘correctAnswer’: 4
},
],
‘resultComments’ :
{
perfect: ‘Albus, is that you?’,
excellent: ‘Outstanding, noble sir!’,
good: ‘Exceeds expectations!’,
average: ‘Acceptable. For a muggle.’,
bad: ‘Well, that was poor.’,
poor: ‘Dreadful!’,
worst: ‘For shame, troll!’
}
};