tangway / flag-guessing-game-frontend

0 stars 0 forks source link

code the hint data structure first into `questions.js` #19

Open tangway opened 5 months ago

tangway commented 4 months ago

this is how it looks like now with timezone and population added. funfact can be shown at the end of hints and bonus questions so users can learn more about these countries and pique their curiosity

const questions = [
  {
    answer: 'St Lucia',
    choices: [
      'Belize',
      'Botswana',
      'Dominica',
      'St Lucia',
      'Peru',
      'Rwanda',
      'Tunisia',
      'Panama',
    ],
    timezone: 'UTC -4:00',
    population: '178,696',
    funfact:
      'The island boasts the highest ratio of Nobel laureates produced with respect to the total population of any sovereign country in the world. Two winners have come from Saint Lucia: Sir Arthur Lewis, who won the Nobel Prize in Economics in 1979, and the poet Derek Walcott, who received the Nobel Prize in Literature in 1992.',
  },
  {
    answer: 'Sri Lanka',
    choices: [
      'Madagascar',
      'Comoros',
      'Guyana',
      'Sri Lanka',
      'Serbia',
      'Taiwan',
      'Ireland',
      'Georgia',
    ],
    timezone: 'UTC +5:30',
    population: '22,037,000',
    funfact:
      'As depicted on a mural in Cave no. 2 at Dambulla Viharaya, King Dutugemunu on his campaign against Ellalan- an invading South Indian ruler- in 162 BC is depicted with a banner containing a lion figure carrying a sword in its right forepaw, a symbol of the Sun and one of the Moon. This flag was known as the only ancient representation of the lion flag of the Sinhalese but in 1957, the lion figure on it was defaced by a vandal.',
  },