"Learn, Play, Earn — Master Web3 the Fun Way!"
A fully responsive, interactive, and modern landing page for a Web3 learning platform that combines blockchain education with gamified experiences. Step inside the ultimate gamified learning hub where every game teaches you real Web3 skills — from blockchain basics to minting NFTs — while rewarding you with collectible NFT badges and certificates.
Built with pure HTML, CSS, and JavaScript - no external libraries required.
- Futuristic Aesthetics: Deep navy to purple gradient backgrounds with neon accents
- Neon Color Palette: Electric blue, purple, pink, and cyan highlights
- Modern Typography: Orbitron for headings, Montserrat for body text
- Animated Elements: Floating particles, glowing shapes, and smooth transitions
- Hero Section: Full-screen gradient with animated floating shapes
- Games Grid: 10 interactive game cards with hover effects
- Smooth Navigation: Fixed navbar with smooth scrolling
- Button Animations: Glowing hover effects and click animations
- Mobile-First: Optimized for all screen sizes
- Flexible Grid: Games adapt from 1 column on mobile to 3+ on desktop
- Touch-Friendly: Optimized for mobile interactions
- Smooth Scrolling: Navigation links scroll to sections smoothly
- Scroll Animations: Elements fade in as you scroll
- Game Loading: Interactive "Play Now" buttons with loading states
- Custom Alerts: Styled game loading notifications
- Keyboard Navigation: Arrow keys for section navigation
- Performance Optimized: Throttled scroll events and efficient animations
-
🏛️ Museum Treasure Hunt - Intro to Blockchain & Blocks
- Explore a virtual museum, collect blockchain "blocks" in the right sequence
- Reward: NFT Badge — Block Collector
-
🏪 Bakery Checkout - Wallet Creation
- Serve pastry tokens to customers by creating secure wallets
- Reward: NFT Badge — Wallet Maker
-
⚖️ Medieval Trading Village - Smart Contracts
- Negotiate trades using automated agreements written as smart contracts
- Reward: NFT Badge — Contract Coder
-
🕵️ Detective Case - Scam & Security Awareness
- Hunt down fake wallets and phishing links hidden in clues
- Reward: NFT Badge — Fraud Fighter
-
🏝️ Island Resource Hunt - Tokenomics & Supply
- Manage scarce resources and trade to maximize your token economy
- Reward: NFT Badge — Token Tycoon
- Semantic HTML5 elements
- Accessible navigation and content
- Optimized for SEO
- Clean, maintainable markup
- CSS Custom Properties (variables) for consistent theming
- CSS Grid and Flexbox for responsive layouts
- Advanced animations with keyframes
- Backdrop filters and modern effects
- Mobile-first responsive design
- Vanilla JavaScript (no frameworks)
- Intersection Observer API for scroll animations
- Event delegation for performance
- Throttled scroll events
- Custom alert system
- Keyboard navigation support
--neon-blue: #00d4ff
--neon-purple: #8b5cf6
--neon-pink: #ec4899
--neon-cyan: #06b6d4
--text-white: #ffffff
--text-gray: #e2e8f0- Chrome 60+
- Firefox 55+
- Safari 12+
- Edge 79+
- Mobile browsers (iOS Safari, Chrome Mobile)
- Clone or Download the project files
- Open
index.htmlin your web browser - Enjoy the interactive experience!
web3-learning-arcade/
├── index.html # Main HTML file
├── styles.css # All CSS styles and animations
├── script.js # JavaScript functionality
└── README.md # This documentation
- Click navigation links to smoothly scroll to sections
- Use arrow keys (↑↓) to navigate between sections
- Press Escape to close any open alerts
- Hover over game cards to see glow effects
- Click "Play Now" buttons for interactive loading experience
- Each game shows a custom loading alert
- Hover over floating particles to see them glow
- Click on floating shapes for pulse animations
- Scroll to see parallax effects and fade-in animations
Edit the CSS custom properties in :root to change the color scheme:
:root {
--neon-blue: #your-blue-color;
--neon-purple: #your-purple-color;
--neon-pink: #your-pink-color;
--neon-cyan: #your-cyan-color;
}To add new games, duplicate a game card in the HTML:
<div class="game-card" data-game="your-game-name">
<div class="card-icon">🎮</div>
<h3 class="card-title">Your Game Title</h3>
<p class="card-description">Your game description.</p>
<button class="play-button">
<span>Play Now</span>
<div class="button-glow"></div>
</button>
</div>Modify animation durations and effects in the CSS file. All animations use CSS keyframes for smooth performance.
- Optimized Animations: CSS transforms and opacity for 60fps
- Throttled Events: Scroll events are throttled for performance
- Efficient Selectors: Minimal DOM queries and event listeners
- Lazy Loading: Animations only trigger when elements are visible
- Touch Optimized: Passive event listeners for mobile performance
Potential additions for future versions:
- Sound effects and audio feedback
- More interactive game previews
- User progress tracking
- Dark/light theme toggle
- More advanced particle systems
- WebGL effects for enhanced visuals
This project is open source and available under the MIT License.
Feel free to fork this project and submit pull requests for improvements!
Built with ❤️ for the Web3 community
Experience the future of blockchain education through immersive gaming!