Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.09 KB

README.md

File metadata and controls

33 lines (24 loc) · 1.09 KB

Quiz App

A simple quiz application where users can log in with their name, take a quiz, and view their score on a leaderboard.

Features

  • Login Interface: Users can enter their name to start the quiz.
  • Quiz Functionality: Users answer multiple-choice questions with a time limit.
  • Score Calculation: Correct answers earn points, incorrect answers lose points.
  • Leaderboard: View the top scores of all users.
  • Result Display: Shows the user’s score and key answers after completing the quiz.
  • Restart and Logout: Options to restart the quiz or log out.

Installation

  1. Clone this repository:

    git clone https://github.com/yourusername/quiz-app.git
  2. Navigate into the project directory:

    cd quiz-app
  3. Open index.html in your browser to view the application.

Usage

  1. Enter your name on the login screen and click "Login".
  2. Start the quiz and answer the questions within the time limit.
  3. View your score and key answers after completing the quiz.
  4. Check the leaderboard to see how you rank against others.