add every country in the world, apart from those which don't have capitals

This commit is contained in:
2021-04-10 15:21:38 +01:00
parent 2ffcd0d377
commit 6d721910d2
5 changed files with 49 additions and 9 deletions

View File

@@ -1,13 +1,5 @@
"use strict";
var capitals = {
"England": "London",
"France": "Paris",
"the USA": "Washington D.C.",
"India": "New Dehli",
"Bangladesh": "Dhaka"
}
var question_list = null;
const capitals_list = Object.values(capitals);
const date = new Date();

View File

@@ -34,5 +34,6 @@
</div>
</div>
</div>
<script src="game.js"></script>
<script type="text/javascript" src="countries.json"></script>
<script type="text/javascript" src="game.js"></script>
</body>