Skip to content

Repository files navigation

🎉 Beautiful Birthday Memories Website

A special, interactive birthday celebration website created with love and personalized messages. This website showcases heartfelt messages, beautiful memories, and emotional moments through an engaging and interactive experience.

🌟 Features

📱 Two Main Sections

1. Cause Page (cause.html)

  • Title: "Why You're My Best Friend! 💖"
  • Interactive button to reveal hidden reasons and messages
  • Shows a shuffled list of special reasons why someone is amazing
  • Counter to track how many messages have been revealed
  • Personalized ending message with a special teddy hug image

2. Memories Page (last.html)

  • Title: "Our Beautiful Memories ✨"
  • Displays beautiful memory cards with images
  • Click-to-Reveal Messages: Click on any image to reveal heartfelt messages
  • Only one card opens at a time for focused reading
  • Cute instruction message to guide the experience
  • Final personalized message section at the bottom

🎵 Background Music

  • Auto-Play Music: Background music starts automatically when the page loads
  • Persistent Playback: Music continues seamlessly when navigating between pages
  • Volume Control: Adjustable volume slider (0-100%)
  • Play/Pause Button: Easy control with intuitive button feedback
  • Visual Feedback: Button shows 🎵 (paused) or ⏸️ (playing)

✨ Visual Effects & Animations

  • Animated gradient background with smooth color transitions
  • Floating heart animations throughout the page
  • Sparkle effects and magical ambient animations
  • Smooth hover and click animations on memory cards
  • Bouncing instruction text to draw attention
  • Responsive design that works on all devices

🎯 Interactive Elements

Memory Cards

  • Click-to-Reveal: Click any memory card image to show/hide the date and caption
  • One at a Time: Only one card reveals at a time for better focus
  • Smooth Transitions: Elegant fade-in/fade-out animations

Button Interactions

  • Shuffle Button on cause.html to reveal different reasons
  • Music Control Button for play/pause
  • Volume Slider for audio adjustment

🛠️ Technical Stack

  • HTML5 - Semantic markup and audio elements
  • CSS3 - Advanced animations, gradients, and responsive design
  • JavaScript - Interactive functionality and session storage for music persistence
  • Session Storage - Maintains music state across page navigation

📁 File Structure

.
├── cause.html          # First page - Birthday reasons
├── cause.css           # Styles for cause page
├── cause.js            # Logic for cause page
├── last.html           # Second page - Memory cards
├── style.css           # Additional styles
├── script.js           # Additional scripts
├── index.html          # Optional landing page
├── bgmusic.mp3         # Background music (required)
├── d1.png              # Memory image 1
├── d2.png              # Memory image 2
├── d3.png              # Memory image 3
├── d1.jpg              # Teddy hug image
└── README.md           # This file

🎵 Setup Instructions

  1. Place Background Music: Add your bgmusic.mp3 file in the same folder as the HTML files
  2. Add Images: Ensure all image files (d1.png, d2.png, d3.png, d1.jpg) are in the directory
  3. Open in Browser: Open cause.html or last.html in a web browser
  4. Enjoy: Experience the interactive birthday celebration!

💡 Features in Detail

Music Persistence

The website uses session storage to remember:

  • Current music playback position
  • Play/pause state
  • Volume level
  • When you navigate from one page to another, the music continues exactly where it left off

Emotional Impact

  • Auto-play music creates immediate emotional resonance
  • Click-to-reveal messages encourage engagement
  • Beautiful animations and transitions enhance the experience
  • Personalized messages and images create a unique connection

User Experience

  • Intuitive interface with clear visual feedback
  • Cute icons and emojis for better engagement
  • Responsive design for all screen sizes
  • Smooth transitions between states
  • No jarring interruptions or resets

🎨 Customization

Change Messages

Edit the HTML files directly to customize:

  • Memory card messages in last.html
  • Reasons in the JavaScript data in cause.html
  • Final messages and text

Adjust Colors

Modify the CSS color values:

  • Pink theme: #ff69b4, #da70d6
  • Background gradients in the <style> sections

Change Images

Replace the image files (d1.png, d2.png, d3.png, d1.jpg) with your own

🌐 Browser Compatibility

  • ✅ Chrome/Edge (Latest)
  • ✅ Firefox (Latest)
  • ✅ Safari (Latest)
  • ✅ Mobile Browsers

Note: Autoplay audio may require user interaction on some browsers. The music will play after the user interacts with the page.

💝 Perfect For

  • 🎂 Birthday celebrations
  • 💕 Anniversaries and special occasions
  • 👭 Best friend tributes
  • 🎁 Personalized digital gifts
  • 💌 Heartfelt digital messages

Created with 💖 for someone special

Enjoy navigating through the beautiful memories and heartfelt messages!

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages