Skip to content
/ Quiz Public

Quiz App is a web application built with React that allows users to take quizzes on various topics.

Notifications You must be signed in to change notification settings

Mash14/Quiz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quiz

Quiz App is a web application built with React that allows users to take quizzes on various topics. It utilizes the nanoid library for generating unique IDs and fetches quiz questions from the Trivia API.

Features

  • Choose questions from a variety of quiz topics.
  • Select the difficulty level (easy, medium or hard) for the quiz.
  • Answer multiple-choice questions within a time limit.
  • Submit the quiz and receive instant feedback on the results.
  • Responsive design for a seamless experience on different devices.

Installation

  1. Clone the repository:
    git clone https://github.com/Mash14/Quiz.git
    
  2. Navigate to the project directory:
    cd Quiz
    
  3. Install the dependencies using npm:
    npm install
    
  4. Start the development server:
    npm start
    
  5. Open your browser and visit http://localhost:5173/ to access the Quiz App.

Usage

  1. Select a quiz topic from the available options.
  2. Choose the desired difficulty level (easy, medium, or hard) for the quiz.
  3. Answer the multiple-choice questions
  4. Submit your answers to see the results instantly.
  5. View your score and see which questions you answered correctly or incorrectly.

ScreenShot

Quiz Before Answering

Quiz After Answering

Technologies Used

  • React: A javascript library for building user interfaces.
  • Nanoid: A secure, URL-friendly, unique string ID generator for Javascript.
  • Trivia API: An API service that provides quiz questions on various topics.
  • React Router: A library for client-side routing in React applications.

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, feel free to open an issue or submit a pull request.

Developer's Details

The author of this project was Alan Macharia

Contact information

You can reach the developer by:

Known Bugs

There are no known bugs

License and Copyright information

The license information can be found here: MIT-License

Copyright (c)24/05/2023__Alan Macharia

About

Quiz App is a web application built with React that allows users to take quizzes on various topics.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published