mirror of
https://github.com/alvierahman90/capitals_quiz.git
synced 2024-11-27 19:59:54 +00:00
minor changes
This commit is contained in:
parent
fd08d84cc6
commit
78324fcef5
@ -28,7 +28,7 @@ def main(args):
|
|||||||
'region': country['region'],
|
'region': country['region'],
|
||||||
'subregion': country['subregion'],
|
'subregion': country['subregion'],
|
||||||
'languages': country['languages']
|
'languages': country['languages']
|
||||||
}
|
}
|
||||||
|
|
||||||
print('countries = ', end='')
|
print('countries = ', end='')
|
||||||
print(json.dumps(r))
|
print(json.dumps(r))
|
||||||
|
@ -108,7 +108,7 @@ function updateScreen(){
|
|||||||
answerBHTML.getElementsByClassName("text")[0].innerHTML = state.options[1];
|
answerBHTML.getElementsByClassName("text")[0].innerHTML = state.options[1];
|
||||||
answerCHTML.getElementsByClassName("text")[0].innerHTML = state.options[2];
|
answerCHTML.getElementsByClassName("text")[0].innerHTML = state.options[2];
|
||||||
answerDHTML.getElementsByClassName("text")[0].innerHTML = state.options[3];
|
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