Skip to content

πŸ₯Ί A super cute, interactive Hug Day website where you can't say no! Features a "runaway" rejection button, mood-based music, animations, and a satisfying hug meter.

Notifications You must be signed in to change notification settings

ravikantmahi/Virtual-Hug-Card

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ«‚ Virtual Hug Card

A sweet, interactive web experience designed for Hug Day (or any day you want to send some love).

This project features a playful interface where the user is asked for a hug. If they try to say "No", the button runs away (on desktop) or plays sad music (on mobile). When they say "Yes", happy music plays and they get to interact with a "Hug Meter" to send warmth!

Project Preview

✨ Features

  • 🎭 Interactive Storyline: Starts with a cute request. If rejected, it plays sad music; if accepted, it plays happy music.
  • πŸƒ Runaway Button: On desktop, the "No" button physically runs away from the cursor so they have to click Yes!
  • 🎡 Mood-Based Audio: - song1.mp3 triggers on rejection (Sad/Funny).
    • song2.mp3 triggers on acceptance (Romantic/Happy).
  • πŸ”‹ Hug Meter: A "Hold to Fill" interaction that simulates squeezing a hug tighter.
  • ✨ Visual Effects:
    • 3D Glassmorphism Card Tilt.
    • Emoji Cursor Trail (❀️✨).
    • Floating background particles.
    • Confetti explosion on completion.
  • πŸ“± 100% Responsive: Works perfectly on Mobile and Desktop.

πŸ“‚ Project Structure

/virtual-hug-card
β”‚
β”œβ”€β”€ index.html        # The main HTML file (paste the code here)
β”œβ”€β”€ song1.mp3         # Sad music file (Add this yourself!)
β”œβ”€β”€ song2.mp3         # Happy music file (Add this yourself!)
└── README.md         # This file

🀝 Contributing Feel free to fork this repo and add your own twists!

πŸ‘¨β€πŸ’» Author

Ravi Kant Software Developer | Big Data & Data Science | FullStack Developer


About

πŸ₯Ί A super cute, interactive Hug Day website where you can't say no! Features a "runaway" rejection button, mood-based music, animations, and a satisfying hug meter.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages