An interactive flashcard‑style trivia game built with HTML, CSS, and JavaScript.
Test your knowledge of all 50 U.S. states through unique, state‑specific questions. Each state appears exactly once as the correct answer. At the end of the quiz, your score is revealed with fun emoji feedback 🎉.
- 🗺️ 50 unique questions — one per U.S. state
- 🎲 Multiple choice format (4 options each)
- 🃏 Flashcard‑style UI with hover effects
- 📊 Score tracking and emoji feedback
- 📱 Responsive design for desktop & mobile
- 🔄 Restart option to replay anytime
- 🏗️ HTML5 – semantic structure
- 🎨 CSS3 – styling and layout
- ⚡ JavaScript (ES6) – quiz logic, randomization, scoring
- 📥 Clone the repository:
git clone https://github.com/yourusername/50-states-quiz.git - 🌐 Open
index.htmlin your browser. - 🎮 Play the quiz and test your U.S. state knowledge!
- ❓ A random question is displayed from the dataset.
- 🖱️ Select your answer by clicking one of the buttons.
- ✅ Correct answers highlight in green, ❌ incorrect in red.
- 🏁 After 50 questions, your final score is shown with an emoji reaction:
- 🏆🎉 = Excellent (40+)
- 😎👍 = Great (25–39)
- 🙂📘 = Decent (10–24)
- 💀😂 = Needs work (0–9)
⚖️ This project is licensed under the MIT License – free to use, modify, and share.