122 lines of pure Vanilla ES6+ logic powered directly by native Browser APIs.
ElizaPlaybill
A bespoke, mobile-first web application modeled after an authentic Broadway Playbill magazine for Eliza's 26th birthday—reframed from blank-card paralysis into pure frontend engineering, with zero AI prose, zero templates, and zero runtime dependencies.
266 lines of Flexbox, Grid, Playbill typography rules, transitions & cues.
Unified horizontal booklet spanning Playbill cover, cast, Act I/II songs & finale.
Zero templates, zero external JS packages—100% personal writing and inside jokes.
Turning Blank-Card Paralysis Into Information Architecture
Why Physical Cards Fell Short
I wanted to make an unforgettable 26th birthday card for my New York & Broadway Playbill–collecting partner—our first birthday celebrated together. Hand-lettering, picking stationery colors from scratch, and facing an empty white page made creative work stall out fast.
Using Broadway Playbill Grammar as a Spec
Instead of fighting a blank canvas, I treated software as my artistic medium. Locking
the visual grammar to Playbill yellow (#fde513), crisp 1px
black rules, and an Oswald + Lora + Playfair Display
type hierarchy eliminated guesswork instantly.
Close Friends Disguised as Musical Numbers
Rather than packing every feeling into a single block of prose, friends became cast members performing Act I & Act II songs titled after Eliza's traits (Whimsical, Indescribable, Genuine, Assertive, Extraordinary, Thoughtful, Lighthearted)—opening heartfelt tributes when tapped.
Zero-Stress Sprint Edits via Decoupled JSON
With active building compressed into a focused ~30-hour birthday sprint, friend
messages kept arriving up to the morning of the surprise. Storing tributes cleanly inside
static messages.json meant cast and message changes took seconds with zero
layout risk.
Dual-Axis Viewport Isolation & Seven-Page SPA
#app-container
Locked to 100vw × 100vh with overflow: hidden to stop native browser rubber-banding.
#page-track
Flex row housing 7 full-width pages animated via GPU-composited translateX(-100vw) transforms.
7 .page Panels
Each booklet page enables independent vertical overflow-y: auto for long billing credits or letters.
JSON + Single Modal
One startup fetch('messages.json') populates a reusable XSS-safe overlay modal across songs.
| Page | Theatrical Section | Interactive & Styling Mechanics |
|---|---|---|
| 01 | Playbill Cover | Signature #fde513 masthead, custom venue billing (Eccles Theater), portrait artwork, and animated swipe cue. |
| 02 | Billing & Credits | 3-column CSS Grid cast roster celebrating friends & family, humorous production credits, and parody sponsors. |
| 03 | Musical Numbers (Act I & II) | Print-faithful flexbox .leader-dots aligning songs and cast; tapping any title opens that friend's tribute. |
| 04 | Interactive Ad I (MemoryMix) | Playbill-style parody ad hiding a tap-to-cycle 4-photo cross-fade collage behind an animated prompt badge. |
| 05 | Director's Note | Justified long-form personal birthday letter rendered in crisp Playfair Display closed with a signature PNG. |
| 06 | Interactive Ad II (BF-26 Model) | Tongue-in-cheek relationship parody product ad matching vintage Broadway magazine copywriting. |
| 07 | Birthday Finale | 5-star Broadway critic review framing a final birthday salute over custom commemorative photography. |
Zero-Library Precision Mechanics
Consolidating Multi-Page Files Into an Instant Booklet
Early sketches separated views across standalone HTML documents, which broke booklet immersion with full-page flashes and repeatedly discarded fetched tribute state. Consolidating all seven scenes into one horizontal track eliminated page transitions and kept startup fetching to a single request.
Tap vs. Swipe Disambiguation & Scroll Dead-Zone Filtering
Supporting horizontal swipes, vertical reading scroll, and clickable song/photo elements
on one mobile screen requires guarding against zero-drag taps. Because simple taps never
trigger touchmove (leaving currentX === 0), checking
startX !== 0 && currentX !== 0 and requiring a 50px
swipe threshold guarantees intentional flips without fighting vertical reading.
Race-Condition-Safe Cross-Fade Carousel & XSS-Safe Modals
For the MemoryMix ad carousel, assigning carouselImg.onload
before updating carouselImg.src eliminates a classic browser-cache
race condition where cached JPEGs complete synchronously and stall at
opacity: 0. Meanwhile, assigning textContent in the singleton
song modal renders emojis and punctuation cleanly with zero HTML injection exposure.
What I Would Harden Next for Production Reuse
Because this gift shipped in a 30-hour sprint specifically for Eliza's phone screen, a
subsequent iteration for broad desktop users would add three structural upgrades directly
applied in my later portfolio UI work: explicit ArrowLeft / ArrowRight
keyboard & on-screen button navigation, timer cancellation (clearTimeout /
transitionend guards) against rapid multi-taps on the photo carousel, and
percentage-based track offsets avoiding scrollbar width drift.
Why Building for People You Love Matters
From First Birthday Surprise to Marriage
ElizaPlaybill turned a blank-card block into an interactive keepsake tailored to Eliza's love of Broadway and New York—delivered free over HTTPS with zero server maintenance. Best of all, coding has always been how I speak from the heart: that chapter led right into us getting married.
Right-Sizing Tech Beats Framework Overkill
Skipping bundlers and heavy SPA frameworks for a 30-hour weekend build kept code small (~9 KB total JS + CSS), deployment instant on Render's free tier, and iteration joyful. It proved that the exact same instinct behind enterprise architecture—modularity, clear state boundaries, clean constraints—makes personal coding endlessly fun.