Add sample quiz JSON file

This commit is contained in:
luca0N! 2021-06-02 19:26:41 -03:00
parent 0abc865113
commit 4379bbd6e5
Signed by: luca0N
GPG key ID: 2E7B4655CF16D7D6
2 changed files with 100 additions and 1 deletions

View file

@ -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.