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/.
- Clone the project from the repo
- run
npm install
oryarn
- run
react-native run-ios
orreact-native run-android
for iOS and Android versions of the app
axios
for network requestshe
for decoding HTML entitieslodash
prettier