Fun Quiz Application

Answer random questions, save your score, and see your rank!

HTML CSS JavaScript

Project Overview

This is a dynamic, browser-based quiz application that fetches data in real-time from the Open Trivia Database API. The application features a 10-question game loop where players receive immediate visual feedback on their answers. Upon completion, the system calculates a final score out of 100 and uses Local Storage to persist user data, automatically ranking players on a high-score leaderboard.

Key Features

  • Fetches live questions from the Open Trivia Database API
  • Dynamic game loop with 10 randomized questions
  • Automatic scoring system (out of 100)
  • Persistent High Score leaderboard using Local Storage
  • Real-time visual feedback for correct/incorrect answers
  • Input validation for player username registration
  • Responsive design optimized for mobile and desktop
  • Clean, intuitive Single Page Application (SPA) interface