Country quiz

3 years ago

TypeScript × Next.js × emotion.

※Regarding the REST COUNTRIES API, the assignment guide said it was, but I heard that it has become a subscription API, so I used the open source version,


First, choose a region.
You will be asked 10 quizzes about the countries belonging to the region you selected.

There are two types of quizzes as follows

  • Questions about capital cities
  • Questions about the name of the country from its flag


  • How to use ReturnType to get the function's return type.
  • How to combine useContext and custom hooks.
  • Basic usage of the REST COUNTRIES API.