GithubHelp home page GithubHelp logo

praveen-1995 / quiz-react-project Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 390 KB

Quiz Project using React

Home Page: https://react-quiz-prod.netlify.app/

HTML 11.11% JavaScript 51.04% CSS 37.84%
api context-api css3 ecmascript6 html5 javascript open-trivia-db-api quiz react react-hooks

quiz-react-project's Introduction

Quiz ๐Ÿง 

PROD [Live] : https://react-quiz-prod.netlify.app/

Quiz consists of a straight forward user interface where there is a

  • Setup form to choose the different options for the game i.e the number of questions, the type of category and the level of difficulty of the quiz user wants to take by clicking on the Play Quiz button.
  • Depending on the options, a set of questions will be fetched/generated and all the data is handled by the API.
  • User will be taken to the next question once any answer is selected from the multiple choice or can skip to the next question directly by clicking Next Question button.
  • As the user is answering the questions, user can view the correct answers out of the total questions on the top right of the form.
  • Once the user completes the quiz by answering all questions, automatically a pop-up modal will show the results and the user has the choice to click Play again button.
  • To run the project locally, clone the repo, npm install to install the dependencies, and npm start to start up the development server on default port 3000.

Languages

HTML, CSS, JavaScript, ECMAScript, React ~ Context API - Hooks ~ useState, useContext

API

https://opentdb.com/api.php

Deployment / Hosting

Netlify


Note: I have developed this project ~ [23] as part of React and Projects Course taught by John Smilga.

quiz-react-project's People

Contributors

praveen-1995 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.