/quiz-mobile-app

iOS and Android mobile app in React Native

Primary LanguageJavaScript

iOS and Android Quiz App created with React Native

About

This sample project contains code for mobile app for the quiz. The app displays a "Start Quiz" button to the user. After pressing on the button, it displays 10 questions with four answers for each question. Only one answer is correct and user can pick only one option.

When the user has answered all the questions, the application shows the user correct answers, a total score and amount of time taken to answer the questions.

There is a "Play again" button that allows the user to play the quiz again.

Question are provided from https://opentdb.com/.

Instalation

  • Clone the project from the repo
  • run npm install or yarn
  • run react-native run-ios or react-native run-android for iOS and Android versions of the app

Dependencies

  • axios for network requests
  • he for decoding HTML entities
  • lodash

Code formatting

  • prettier

Screenshots

Start quiz Play See results