Skip to content

Code-Abbey/Javascript

Repository files navigation

Quiz Game

Overview

This is a simple, browser-based quiz game built with HTML, CSS, and JavaScript. The game allows users to answer a series of multiple-choice questions and displays their final score upon completion. It features a welcoming start page, background music, dynamic question handling, and a restart functionality.

Features

  • Start page with a "Start Quiz" button to begin the game.
  • Multiple-choice quiz with dynamic question rendering.
  • Visual feedback for correct and incorrect answers.
  • Background music that loops throughout the game.
  • Final result page displaying the player's score.
  • Restart Quiz button to replay the game.
  • Fully responsive design

Prerequisites

To run this project, you need:

  • A modern web browser (e.g., Chrome, Firefox, Edge, etc.).

How to Play

  • Open the game and click "Start Quiz" on the start page.
  • Read each question and click the correct answer.
  • If the answer is correct, it will turn green; otherwise, it will turn red.
  • Click "Next Question" to proceed to the next question.
  • After the final question, view your score and click "Restart Quiz" to replay.

Technologies Used

  • HTML: For structuring the game.
  • CSS: For styling the user interface.
  • JavaScript: For dynamic interactions and game logic.

Acknowledgements

About

JavaScript practice and frontend exercises covering core language and web concepts.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors