Built With React Js
This application/site was created as a submission to a DevChallenges challenge. The challenge was to build an application to complete the given user stories.
Running this project you will see an initial component that asks your name for mantaining records of your scores. You can click on the START button, iniciating the quiz, or in the button bellow, going to the records history.
Once you have iniciated the quiz, you can see at least two types of questions:
- Wich country does this flag belong to?
- [city name] is the capital of?
You will see four options, and you can select one of them.
Once you click on the option you think is the right one, the question will be blocked and the right option will have a green background. If you choose the right one, you click on the NEXT button and continue to play, but if not, the game will end and you will go to the results tab, that will show your score.
From that tab you can go back to home and start the game with another name or you can try again, what will erase your current score and reiniciate the count. You can also go to the records tab and see the previous records.
The questions on this project were made with the REST Countries API.
To clone and run this application, you'll need Git and Node.js installed on your computer. After cloning the repository, use the package manager yarn to install the dependencies with the following comand line
yarn
With the project dependencies properly installed, run
yarn start
Doing that you will be sended to a page on your browser with the project running.