🎯 What You'll Build
A gorgeous, personalized birthday wish website with floating balloons, twinkling stars, confetti explosions, and a customizable love message. The best part? You can personalize it with just a URL parameter!
---
🔗 Live Demo
Try adding ?name=Sarah to the URL to see personalization in action!
---
📦 Get the Source Code
> Want the complete, customizable source code with 5 theme variants? > > ☕ Download on Buy Me a Coffee → > > Includes: Full source code • 5 color themes • Background music support • Photo gallery add-on • Deployment guide
---
🛠️ Let's Build It Step by Step
Step 1: Project Setup
Create three files in a folder:
Step 2: HTML Structure
Step 3: CSS Styling — The Magic ✨
The real beauty comes from CSS animations. Here are the key techniques:
Gradient Text Animation:
Floating Balloon Animation:
Step 4: JavaScript — Confetti & Personalization
URL-based personalization — the killer feature:
Confetti explosion on button click:
---
🎨 How to Customize
| What to Change | Where to Edit | Example |
|---|---|---|
| Recipient Name | URL parameter | ?name=Sarah |
| Message | index.html line 15 | Change the paragraph text |
| Colors | style.css line 12 | Modify gradient colors |
| Balloon Colors | script.js line 5 | Edit the colors array |
| Background | style.css body | Change gradient values |
---
🚀 How to Deploy for Free
- 1. Create a GitHub account (free)
- 2. Create a new repository → upload your 3 files
- 3. Go to Settings → Pages → Source: main branch
-
4.
Your site will be live at
https://yourusername.github.io/repo-name/
-
5.
Share the link with
?name=TheirNameadded! 🎉
---
📦 Download Complete Source Code
> ☕ Get the Premium Version on Buy Me a Coffee → > > Premium includes: 5 color themes (Rose, Gold, Ocean, Galaxy, Forest) • Photo gallery integration • Background music player • Custom font support
---
🔗 Related Projects
About the Author: gs_admin
A senior technical contributor specializing in architectural designs, software optimization, database structures, and developer education. Passionate about writing clean code and sharing engineering knowledge.