From 78324fcef5d3afd88f7f02a4543f3eb0a30c6c32 Mon Sep 17 00:00:00 2001 From: Alvie Rahman Date: Tue, 4 May 2021 20:54:24 +0100 Subject: [PATCH] minor changes --- scripts/generate_countries_list.py | 2 +- src/game.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/generate_countries_list.py b/scripts/generate_countries_list.py index 289b4a6..854a598 100755 --- a/scripts/generate_countries_list.py +++ b/scripts/generate_countries_list.py @@ -28,7 +28,7 @@ def main(args): 'region': country['region'], 'subregion': country['subregion'], 'languages': country['languages'] - } + } print('countries = ', end='') print(json.dumps(r)) diff --git a/src/game.js b/src/game.js index 69177c0..e99e1c7 100644 --- a/src/game.js +++ b/src/game.js @@ -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 " + state.question + "?"; + questionHTML.innerHTML = `what is the capital of ${state.question}?`; }