Add sample quiz JSON file
This commit is contained in:
parent
0abc865113
commit
4379bbd6e5
2 changed files with 100 additions and 1 deletions
|
@ -41,7 +41,8 @@ function setUpStrings(){
|
|||
let warning = document.getElementById('warning');
|
||||
warning.style['display'] = 'unset';
|
||||
// Get JSON file which contains all of the challenges required.
|
||||
sendGetRequest('privacy-quiz.en.json', function(text){
|
||||
// FIXME: remove hardcoded quiz name.
|
||||
sendGetRequest('sample.en.json', function(text){
|
||||
quiz = JSON.parse(text);
|
||||
|
||||
// Set up UI elements based on quiz metadata.
|
||||
|
|
Reference in a new issue