mirror of
https://github.com/alvierahman90/capitals_quiz.git
synced 2024-11-23 17:59:55 +00:00
minor changes
This commit is contained in:
parent
fd08d84cc6
commit
78324fcef5
@ -28,7 +28,7 @@ def main(args):
|
||||
'region': country['region'],
|
||||
'subregion': country['subregion'],
|
||||
'languages': country['languages']
|
||||
}
|
||||
}
|
||||
|
||||
print('countries = ', end='')
|
||||
print(json.dumps(r))
|
||||
|
@ -108,7 +108,7 @@ function updateScreen(){
|
||||
answerBHTML.getElementsByClassName("text")[0].innerHTML = state.options[1];
|
||||
answerCHTML.getElementsByClassName("text")[0].innerHTML = state.options[2];
|
||||
answerDHTML.getElementsByClassName("text")[0].innerHTML = state.options[3];
|
||||
questionHTML.innerHTML = "what is the capital of <span id=\"questionCountry\">" + state.question + "</span>?";
|
||||
questionHTML.innerHTML = `what is the capital of <span id="questionCountry">${state.question}</span>?`;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user