Skip to content

sruthipunnana/quiz-application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quiz App

This is a simple quiz app built using React. It allows users to take a quiz consisting of multiple-choice questions and provides a score at the end based on their answers.

Features

  • Multiple-choice questions.
  • Navigation between questions.
  • rechanging the answers
  • Submitting answers and viewing the final score.

Getting Started

  1. Clone the repository:

    git clone <repository_url>
  2. Navigate to the project directory:

    cd quiz-app
  3. Install dependencies:

    npm install
  4. Run the app:

    npm start
  5. Open your browser and go to https://quiz-application-lovat.vercel.app/ to view the app.

Usage

  • Click on an answer choice for each question.
  • Use the "Next" button to move to the next question and the "Back" button to go back to the previous question.
  • When on the last question, click "Submit" to see your final score.

Technologies Used

  • React Hooks
  • JavaScript (ES6+)
  • HTML
  • CSS

File Structure

  • src/ - Contains the source code for the React app.
    • components/ - Contains React components for the app.
    • App.js - Main component handling the quiz logic.
    • index.js - Entry point for the React app.