Skip to content

Hhhpraise/hsk-quiz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

31 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽฏ HSK 5 Vocabulary Quiz

A modern, mobile-optimized vocabulary quiz app for Chinese HSK Level 5 exam preparation. Features intelligent question generation, dark/light themes, and comprehensive progress tracking.

HSK 4 Quiz Demo Mobile Optimized Dark Theme Progressive Web App

โœจ Features

๐ŸŽฎ Interactive Learning

  • Smart Question Generation - AI-powered similar options based on pinyin pronunciation, tones, and meaning similarity
  • Dual Quiz Modes - Switch between Pinyin + English matching or English-only mode
  • Touch-Optimized Interface - Designed for mobile-first experience with haptic feedback
  • Instant Feedback - Real-time results with visual and haptic responses

๐Ÿ“š Adaptive Study System

  • Flexible Batch Sizes - Study 25, 50, 100 words, or all vocabulary at once
  • Wrong Answer Review - Automatic collection and focused practice of missed questions
  • Progress Persistence - Never lose your place with auto-save functionality
  • Batch Navigation - Seamlessly move between vocabulary sets

๐ŸŽจ Modern UI/UX

  • Dark/Light Theme - Toggle between themes with smooth transitions
  • Responsive Design - Perfect experience on phones, tablets, and desktop
  • Progressive Web App - Install on mobile devices for app-like experience
  • Accessibility - Keyboard shortcuts, proper contrast, screen reader support

๐Ÿ“Š Comprehensive Tracking

  • Real-time Statistics - Current progress, accuracy rate, correct/wrong counts
  • Visual Progress Bar - Animated progress indicator with shimmer effects
  • Session Management - Resume exactly where you left off
  • Performance Analytics - Track learning efficiency over time

๐Ÿš€ Quick Start

Option 1: Direct Use

visit the live demo at : https://hhhpraise.github.io/hsk-quiz/

Option 2: Local Development

# Clone the repository
git clone https://github.com/hhhpraise/hsk-quiz.git

# Navigate to directory
cd hsk-quiz

# Open in browser
open index.html
# or
python -m http.server 8000  # For local server

Option 3: GitHub Pages

Visit the live demo: https://hhhpraise.github.io/hsk-quiz

๐Ÿ“ฑ Mobile Installation

iOS Safari

  1. Open the quiz in Safari
  2. Tap the Share button
  3. Select "Add to Home Screen"
  4. Enjoy the app-like experience!

Android Chrome

  1. Open the quiz in Chrome
  2. Tap the Menu (โ‹ฎ)
  3. Select "Add to Home screen"
  4. Launch from your home screen

๐ŸŽ“ How to Use

Basic Quiz Flow

  1. Select batch size (25, 50, 100, or all words)
  2. Choose quiz mode (Pinyin + English or English only)
  3. Read the Chinese character displayed
  4. Tap the correct translation from 4 options
  5. Get instant feedback and move to next question

Advanced Features

  • ๐Ÿ”€ Shuffle - Randomize current batch order
  • ๐Ÿ“š Review - Practice only your wrong answers
  • ๐Ÿ”„ Reset - Start over with fresh progress
  • โšก Keyboard Shortcuts - Use keys 1-4 to select options

Smart Study Tips

  • Use Review Mode - Focus on weak areas with wrong answer practice
  • Switch Modes - Alternate between Pinyin and English-only for comprehensive learning
  • Batch Progression - Complete smaller batches before tackling larger sets
  • Dark Mode - Reduce eye strain during extended study sessions

๐Ÿ”ง Technical Details

Built With

  • Vanilla JavaScript - No frameworks, fast loading
  • Modern CSS - CSS Grid, Flexbox, CSS Variables for theming
  • Progressive Enhancement - Works on all devices and browsers
  • Local Storage API - Persistent progress without server requirements

Browser Compatibility

  • โœ… Chrome/Edge 88+
  • โœ… Firefox 85+
  • โœ… Safari 14+
  • โœ… Mobile Browsers - iOS Safari, Chrome Mobile, Samsung Internet

Performance

  • Lightweight - Single HTML file under 50KB
  • Fast Loading - No external dependencies
  • Smooth Animations - Hardware-accelerated CSS transitions
  • Battery Efficient - Optimized for mobile devices

๐ŸŽฏ HSK 4 Vocabulary Coverage

The quiz includes carefully selected HSK Level 4 vocabulary with:

  • 600 Essential Words - Complete HSK 4 word list
  • Accurate Pinyin - Proper tone marks and pronunciation
  • Contextual Translations - Real-world English meanings
  • Smart Grouping - Thematically organized batches

Sample Categories

  • Family & Relationships - ็ˆฑๆƒ…, ็ˆถๆฏ, ็ป“ๅฉš
  • Work & Education - ๅทฅไฝœ, ๅญฆไน , ๆฏ•ไธš
  • Daily Life - ็”Ÿๆดป, ่ดญ็‰ฉ, ๆ—…ๆธธ
  • Abstract Concepts - ๆƒณๆณ•, ๆ„Ÿๆƒ…, ๆ–‡ๅŒ–

๐Ÿค Contributing

We welcome contributions! Here's how you can help:

Adding Vocabulary

  1. Fork the repository
  2. Edit the originalWords array in the JavaScript section
  3. Follow the format: { chinese: "ๅญ—", pinyin: "zรฌ", english: "word" }
  4. Submit a pull request

Improving Features

  • ๐Ÿ› Bug fixes - Report issues or submit fixes
  • ๐ŸŽจ UI improvements - Enhance the design or usability
  • โšก Performance - Optimize loading or animations
  • ๐ŸŒ Translations - Add interface translations for other languages

Development Setup

# Fork and clone
git clone https://github.com/hhhpraise/hsk-quiz.git

# Create feature branch
git checkout -b feature/your-feature-name

# Make changes and test
open index.html  # Test in browser

# Commit and push
git commit -m "Add your feature description"
git push origin feature/your-feature-name

# Create pull request

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

What this means:

  • โœ… Use commercially
  • โœ… Modify and distribute
  • โœ… Private use
  • โ— Include license notice

๐Ÿ™ Acknowledgments

  • HSK Official - Vocabulary standards and structure
  • Chinese Language Community - Feedback and testing
  • Open Source Contributors - Code improvements and features
  • Mobile-First Design Principles - Responsive design inspiration

๐Ÿ“ž Support & Feedback

๐Ÿ› Found a Bug?

  • Open an issue on GitHub with detailed steps to reproduce
  • Include browser/device info for faster debugging

๐Ÿ’ก Feature Request?

  • Check existing issues first to avoid duplicates
  • Describe the use case and expected behavior
  • Consider contributing if you can implement it!

โ“ Need Help?

  • Check the documentation above
  • Browse existing issues for similar questions
  • Open a discussion for general questions

๐Ÿš€ Roadmap

Upcoming Features

  • Audio Pronunciation - Native speaker recordings
  • Spaced Repetition - Smart review scheduling
  • Study Streaks - Gamification elements
  • Export Progress - Data backup and sharing
  • Offline Mode - Full offline functionality
  • Custom Word Lists - User-defined vocabulary sets

Long-term Goals

  • Multiple HSK Levels - HSK 1-6 support
  • Character Writing - Stroke order practice
  • Grammar Integration - Sentence structure quizzes
  • Community Features - Shared progress and competitions

๐ŸŒŸ Star History

If this project helped you learn Chinese, please consider giving it a โญ star!

Star History Chart


Made with โค๏ธ for Chinese language learners worldwide

๐ŸŒ Live Demo โ€ข ๐Ÿ“ฑ Mobile App โ€ข ๐Ÿ› Report Bug โ€ข ๐Ÿ’ก Request Feature

About

๐ŸŽฏ Modern mobile-first HSK 5 vocabulary quiz with smart question generation, dark/light themes, progress tracking, and offline support. Perfect for Chinese language learners preparing for HSK Level 4 exam.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors