Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

10 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽฎ Quiz Game

A modern and interactive 10-question country quiz game built using HTML, CSS, and JavaScript.

The quiz begins by asking the user which country they are from. The remaining questions are then based on the selected country. Users can track their progress, answer multiple-choice questions, and receive a final score with personalised feedback.

๐ŸŒ Live Demo

Play the Quiz Game:
http://127.0.0.1:5500/index.html

๐Ÿš€ Features

  • ๐ŸŽฏ 10-question interactive quiz
  • ๐ŸŒ Country selection
  • ๐Ÿง  Country-specific questions
  • โœ… Multiple-choice answers
  • ๐Ÿ“Š Real-time score tracking
  • ๐Ÿ“ˆ Animated progress bar
  • ๐Ÿ”ข Question counter
  • ๐Ÿšซ No back button
  • โžก๏ธ Forward-only navigation
  • ๐Ÿ† Final score calculation
  • ๐Ÿ’ฌ Personalised performance feedback
  • ๐Ÿ”„ Play Again functionality
  • ๐Ÿ“ฑ Responsive design
  • ๐Ÿ’ป Works on desktop, tablet and mobile
  • ๐ŸŽจ Modern blue and red user interface
  • โšก Runs directly in the browser
  • ๐Ÿ” No login or registration required
  • ๐Ÿ—„๏ธ No database required

๐Ÿ› ๏ธ Technologies Used

  • HTML5 โ€“ Website structure
  • CSS3 โ€“ Styling, layout and responsive design
  • JavaScript โ€“ Quiz logic, questions, scoring and interactions
  • GitHub Pages โ€“ Website hosting

๐ŸŽฎ How the Quiz Works

  1. The user opens the Quiz Game.
  2. The welcome screen asks: "Are you ready for this quiz?"
  3. The user clicks START QUIZ.
  4. Question 1 asks: "Which country are you from?"
  5. The user selects their country.
  6. The game provides 9 additional questions about that country.
  7. The user selects one answer for each question.
  8. The user clicks NEXT QUESTION to continue.
  9. The progress bar updates after every question.
  10. The user cannot return to previous questions.
  11. After Question 10, the final score is displayed.
  12. The user receives personalised feedback.
  13. The user can click PLAY AGAIN to restart the quiz.

๐ŸŒ Currently Supported Countries

The current version includes country-specific questions for:

  • ๐Ÿ‡ฟ๐Ÿ‡ฆ South Africa
  • ๐Ÿ‡ฎ๐Ÿ‡ณ India
  • ๐Ÿ‡บ๐Ÿ‡ธ United States
  • ๐Ÿ‡ฌ๐Ÿ‡ง United Kingdom

More countries and questions can be added in future versions.

๐Ÿ“Š Scoring System

Each correct answer is worth 1 point.

The maximum score is:

10/10

Performance feedback is provided based on the user's final score.

Score Feedback

  • 10/10 โ€“ Outstanding!
  • 8โ€“9/10 โ€“ Great job!
  • 6โ€“7/10 โ€“ Good effort!
  • 4โ€“5/10 โ€“ Keep learning!
  • 0โ€“3/10 โ€“ Better luck next time!

๐Ÿ“ Project Structure

Quiz-Game/
โ”‚
โ”œโ”€โ”€ index.html
โ”œโ”€โ”€ style.css
โ”œโ”€โ”€ script.js
โ””โ”€โ”€ README.md

About

Interactive 10-question country quiz game built with Python and Tkinter.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages