Skip to content

Welcome to Birthday V3 – an immersive and highly interactive web template designed to deliver a truly memorable birthday surprise!

License

Notifications You must be signed in to change notification settings

sapthesh/Birthday-V3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎂 Birthday Web Template V3 - The Grand Celebration 🎂

Repo Size Last Commit Hits Hits License Version

Welcome to Birthday V3 – an immersive and highly interactive web template designed to deliver a truly memorable birthday surprise! This version elevates the experience with a multi-step reveal, background music, and a dazzling array of animations, all while remaining fully responsive and easy to customize.

✨ Features

  • Four-Step Guided Reveal: A delightful journey from a welcome screen, through an interactive envelope, an unfolding letter, and finally, a grand animated celebration.
  • Background Music: A cheerful, looping instrumental track to set the festive mood (user-initiated for browser compatibility).
  • Rich & Dynamic Animations:
    • Confetti Cannon: Explosions of colorful confetti dynamically burst across the screen.
    • Rising Balloons: Graceful balloons float upwards, adding to the celebratory atmosphere.
    • CSS Fireworks: Subtle, elegant fireworks animate in the background.
    • Typewriter Text Effect: The main greeting is charmingly typed out character by character.
    • Interactive Cake: A beautiful CSS cake with a flickering candle that can be "blown out" on hover.
    • Smooth transitions and subtle animations for the envelope and letter.
  • Modern & Responsive Design: Crafted with Flexbox and Grid, ensuring a flawless look and feel on any device, from smartphones to large desktops.
  • Zero External Dependencies: Built purely with HTML, CSS, and vanilla JavaScript for optimal performance and simplicity.
  • Highly Customizable: Easily personalize the recipient's name, messages, and even the background music.

🚀 Getting Started

Getting this amazing birthday template up and running is straightforward.

Prerequisites

  • A modern web browser (Chrome, Firefox, Safari, Edge).
  • A suitable .mp3 background music file (e.g., birthday_song.mp3).

Installation & Local Setup

  1. Clone the repository:
    git clone https://github.com/sapthesh/Birthday-V3.git
  2. Navigate to the project directory:
    cd Birthday-V3
  3. Add your music file: Place your chosen birthday instrumental track (e.g., birthday_song.mp3) directly into the Birthday-V3 folder.
    • Note: Ensure the file is named birthday_song.mp3 or update the <source src="birthday_song.mp3"> tag in index.html to match your filename.
  4. Open in Browser: Simply open the index.html file in your web browser.

🎮 How to Customize

Personalizing this template is very easy:

  1. Recipient's Name & Main Greeting:
    • Open script.js in a text editor.
    • Edit the recipientName and messageGreeting variables at the top of the file:
      const recipientName = "Alice"; // Change "Sapthesh" to the birthday person's name
      const messageGreeting = "Happy Birthday,"; // Customize the main greeting
  2. Letter Content:
    • Open index.html in a text editor.
    • Locate the <div class="letter"> section (around line 40).
    • Modify the paragraphs (<p>) inside to write your custom message.
  3. Final Wish & Signature:
    • Open index.html.
    • Locate the <p class="final-wish"> and <p class="signature"> tags within the <div class="celebration-card"> section.
    • Edit the text to reflect your personal wishes and signature.
  4. Background Music:
    • If you used a different filename for your .mp3, open index.html and update the src attribute of the <source> tag within the <audio> element to point to your file.

🤝 Contributing

Contributions are highly encouraged! If you have ideas for more animations, features, or design improvements, please feel free to contribute.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingNewAnimation)
  3. Commit your Changes (git commit -m 'Add some AmazingNewAnimation')
  4. Push to the Branch (git push origin feature/AmazingNewAnimation)
  5. Open a Pull Request

📜 License

Distributed under the MIT License. See the LICENSE file for more information.

About

Welcome to Birthday V3 – an immersive and highly interactive web template designed to deliver a truly memorable birthday surprise!

Topics

Resources

License

Stars

Watchers

Forks