A premium, interactive web application for mastering IP subnetting β featuring a sleek glassmorphism UI, gamified XP system, binary visualization, and real-time feedback.
- 6 Answer Fields β Subnet Mask, Network, First Host, Last Host, Broadcast, Next Subnet
- Real-time Validation β instant β/β feedback with glow highlights
- Mistake Explanations β field-specific hints when you get something wrong
- Step-by-Step Solutions β full breakdown of how to calculate each value
- Hints β context-aware tip about the interesting octet and block size
- XP & Level System β 10 tiers from Beginner all the way to Legend
- Score & Streak Multiplier β earn more XP the longer your streak
- Confetti Celebrations π β triggered at streak milestones (5, 10, 25β¦)
- Animated Stat Counters β score and streak numbers count up smoothly
- Binary Visualization β see the IP, mask, and network address in binary with network bits and host bits color-coded
- Subnetting Cheat Sheet β collapsible reference table covering /8 to /30
- Progress Bar β tracks how many of the 6 fields you've answered
- Exam Mode β disables hints, show buttons, and binary view for a real exam feel
- Custom Prefix Range β target specific prefix lengths (/8 to /30)
- Auto Fill β pre-fills non-interesting octets so you can focus on what matters
- Auto Check β validates each field as you type
- Export History β download your attempt history as CSV or JSON
- Statistics View β see your 5 weakest prefixes by accuracy
| Key | Action |
|---|---|
N |
Next Problem |
Enter |
Check All |
S |
Show All Answers |
H |
Toggle Hint |
B |
Toggle Binary View |
- Glassmorphism Design β frosted-glass panels with backdrop blur
- Animated Gradient Background β slowly shifting indigo/teal/purple mesh
- Inter + JetBrains Mono typography
- Glowing accents β neon highlights on focused inputs and correct answers
- Micro-animations β hover lifts, input shake on wrong answer, slide-in panels
- Responsive β desktop table layout + mobile card layout
- Sticky Action Bar on mobile for quick access
- PWA β installable, works offline
https://unes27.github.io/subnetting-practice-tool
- HTML5 β semantic markup, PWA manifest
- CSS3 β custom properties, glassmorphism, keyframe animations
- Vanilla JavaScript β pure ES6+, no frameworks
- LocalStorage β persistent XP, history, and settings
- Service Worker β offline support
Visit: https://unes27.github.io/subnetting-practice-tool
git clone https://github.com/Unes27/subnetting-practice-tool.git
cd subnetting-practice-tool
python -m http.server 8000
# Open http://localhost:8000- Select a difficulty β Easy (24β30), Medium (16β28), or Hard (8β30)
- Read the target IP (e.g.
192.168.5.73 /26) - Fill in all 6 fields β Subnet Mask, Network, First Host, Last Host, Broadcast, Next Subnet
- Press Enter or click Check All
- Use Hint, Steps, or Binary (B) if you get stuck
- Earn XP, build your streak, and level up!
subnetting-practice-tool/
βββ index.html # Main application
βββ styles.css # Glassmorphism design system
βββ script.js # App logic, XP system, binary viz
βββ manifest.json # PWA manifest
βββ sw.js # Service worker
βββ favicon.svg # App icon
βββ README.md # Documentation
- β¨ Full glassmorphism UI with animated gradient background
- π XP / Level system (10 tiers)
- π’ Subnet Mask answer field added
- π» Binary visualization with color-coded bits
- π Subnetting cheat sheet
- π Progress bar
- π Confetti celebrations on streak milestones
- β¨οΈ Keyboard shortcut legend
- π¨ Inter + JetBrains Mono fonts
- Exam simulator with timed tests
- Multiple question types
- PWA support with offline mode
- Advanced statistics
- Initial release with core subnetting practice
Contributions welcome! Please open a Pull Request.
- Fork the project
- Create your feature branch (
git checkout -b feature/YourFeature) - Commit your changes (
git commit -m 'Add YourFeature') - Push to the branch (
git push origin feature/YourFeature) - Open a Pull Request
MIT β see LICENSE for details.
Younes Ait Faraji β @Unes27
Β© 2026 Younes Ait Faraji. All rights reserved.