Design : https://www.figma.com/file/Gw0ZNBbYN8asqFlZWy3jG1
- Built with React Hooks when applying Context Hooks, inline styles and CSS
- API: Using data from an API to create questions and answers.
- Parsing data to get capitals and countries from an API.
- Toggling between two different questions and displaying four different answer options.
- Finding the right answer for the country when rendering the data randomly.
To clone and run this application, you'll need Git and Node.js (which comes with npm) installed on your computer. From your command line:
# Clone this repository
$ git clone https://github.com/ganamavo/country-quiz
# Install dependencies
$ npm install
# Run the app
$ npm start