A simple quiz application where users can log in with their name, take a quiz, and view their score on a leaderboard.
- 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.
-
Clone this repository:
git clone https://github.com/yourusername/quiz-app.git
-
Navigate into the project directory:
cd quiz-app
-
Open
index.html
in your browser to view the application.
- Enter your name on the login screen and click "Login".
- Start the quiz and answer the questions within the time limit.
- View your score and key answers after completing the quiz.
- Check the leaderboard to see how you rank against others.