An open API service indexing awesome lists of open source software.

https://github.com/anuva312/countryquiz-devchallenges

A quiz on the countries of the world! Developed as a part of devChallenges FrontEnd Developer Challenge.
https://github.com/anuva312/countryquiz-devchallenges

countries-api css devchallenges front-end-development html javascript quiz react

Last synced: about 1 month ago
JSON representation

A quiz on the countries of the world! Developed as a part of devChallenges FrontEnd Developer Challenge.

Awesome Lists containing this project

README

          

# Country

Solution for the [Country Challenge](https://legacy.devchallenges.io/challenges/Bu3G2irnaXmfwQ8sZkw8) from [Devchallenges.io](https://legacy.devchallenges.io).

## Table of Contents

- [Challenge](#challenge)
- [Solution](#solution)
- [Demo](#demo)
- [Built With](#built-with)
- [How to Use](#how-to-use)
- [Acknowledgements](#acknowledgements)

## Challenge

Challenge: Create a country quiz app using an API. Use Front-end libraries like React or Vue.
Fulfill user stories below:

- User story: I can see at least 2 types of questions: a city is the capital of.. or a flag belong to country..
- User story: I can select an answer
- User story: I can see if my answer is correct or incorrect
- User story: When I answer correctly, I can move on to the next question
- User story: When I answer incorrectly, I can see my results and try again
- User story: I can try again

## Solution

### Demo

Find the site in action [here](https://quirky-panini-10618a.netlify.app/)!

#### Quiz Question

![quiz-question](public/assets/images/quiz-question-wide.PNG)

#### With answer

![quiz-with-answer](public/assets/images/quiz-with-answer-wide.PNG)

#### Results Page

![quiz-result-page](public/assets/images/results-wide.PNG)

### Built With

- [React](https://reactjs.org/)

## How To Use

To clone and run this application, you'll need [Git](https://git-scm.com) and [yarn](https://yarnpkg.com/). From your command line:

```bash
# Clone this repository
$ git clone https://github.com/anuva312/CountryQuiz-devChallenges

# Install dependencies
$ yarn install

# Run the app
$ yarn start
```

## Acknowledgements

- [How To Make A Loader](https://www.w3schools.com/howto/howto_css_loader.asp)
- [REST Countries](https://restcountries.com/)