DEV Community

Cover image for Country Capital Quiz
51 Vaishnavi Raykar
51 Vaishnavi Raykar

Posted on

Country Capital Quiz

Introduction
I'm thrilled to introduce my latest project, the Country Capital Quiz, which showcases the power of localization through Tolgee. This educational app allows users to test their knowledge of world capitals while ensuring accessibility to a global audience by supporting multiple languages. Whether you're a geography enthusiast or just looking to learn, this app helpful for you.

Why Tolgee
Tolgee is an open-source localization and internationalization library designed to simplify the process of translating applications. It provides a user-friendly interface for managing translations, allowing developers to focus on building features rather than worrying about language support.

Overview
1.User Input:

  • Users can participate in a quiz where they are prompted to guess the capitals of various countries.
  • They are presented with multiple-choice questions and must select the correct capital from the provided options.

2.Quiz Progression:

  • The quiz comprises several rounds (e.g., 10 questions), and the user's progress is displayed after each question.
  • Correct or incorrect answers are highlighted, and feedback is provided in real-time, showing the correct answer when a mistake is made.

3.Localization:

  • The app supports multiple languages via Tolgee integration, allowing users to switch between languages dynamically. The entire quiz interface, including questions, options, and feedback, updates to the chosen language.

4.Responsive Design:

  • The interface is fully responsive, ensuring the quiz is accessible and visually appealing across different device sizes.

5.Interactivity:

  • Users interact by selecting answers, and the system keeps track of their score as they progress through the quiz.
  • The quiz includes real-time validation of answers, and users can see their performance at the end of the quiz.

Feel free to explore Tolgee for your projects and reach out if you have any questions!

Top comments (0)