A tiny, self-contained web page with a magical gift box, balloons, butterflies, confetti, and a glassmorphism photo slider. Clicking any photo shows a short quote.
- Option A: Any static server (VS Code Live Server, etc.)
- Option B: Python
python3 -m http.server 8080Then open http://localhost:8080 and click “I have something for you”.
You have two easy options:
- Select images using the button on the page (recommended). Supports multiple selection.
- Or, place files in the project and reload the page. The app automatically searches for images named
pic1.jpg…pic20.pngor1.jpg…20.pngin eitherassets/orassets/photos/.
Tip: 6–15 photos look best.
Quotes are generated based on image colors and brightness. If analysis fails, a friendly default is used.
- The project uses plain HTML/CSS/JS and no external build step. It works on mobile and desktop.
- Animations respect the user’s reduced-motion preference.
- The slider adapts to different aspect ratios and marks portrait images to avoid cropping.