by the way, I just somehow manage to copy the lowercase files like this: var countries = ["estonia", "france", "germany", "irelead","Iitaly", "nigeria", "poland", "spain", "uk", "ukraine", "us"] Then you can add Text(countries[correctAnswer].capitalized) to line 18 of the code.
By switching "Russia" for "Ukraine", you have unintentionally introduced a bug for people that copy and paste this. Because there's no "Ukraine" image, sometimes, only two flags will be rendered. The correct countries list is here: var countries = ["Estonia", "France", "Germany", "Ireland", "Italy", "Nigeria", "Poland", "Russia", "Spain", "UK", "US"]
by the way, I just somehow manage to copy the lowercase files like this:
var countries = ["estonia", "france", "germany", "irelead","Iitaly", "nigeria", "poland", "spain", "uk", "ukraine", "us"]
Then you can add Text(countries[correctAnswer].capitalized) to line 18 of the code.
var countries = ["Estonia", "France", "Germany", "Ireland", "Italy", "Nigeria", "Poland", "Spain", "UK", "Ukraine", "US"]
By switching "Russia" for "Ukraine", you have unintentionally introduced a bug for people that copy and paste this. Because there's no "Ukraine" image, sometimes, only two flags will be rendered.
The correct countries list is here:
var countries = ["Estonia", "France", "Germany", "Ireland", "Italy", "Nigeria", "Poland", "Russia", "Spain", "UK", "US"]