StealThis .dev

Podcast — Newsletter Signup

A bold, audio-first newsletter signup section for a podcast, built with a glowing dark card, gradient waveform accents, and an email capture form. Shows a live subscriber count, animated waveform bars, trust badges and recent-subscriber avatars, then flips into a celebratory success state with confetti-style ticks after a validated submit. Fully keyboard-accessible, responsive down to 360px, and driven entirely by vanilla JS.

Open in Lab
html css vanilla-js
Targets: JS HTML

Code

A punchy, audio-first newsletter signup block designed for a fictional podcast, Frequency Drift. The layout centers on a glowing dark card with a violet-to-cyan gradient headline, an animated waveform strip that pulses like an equalizer, and an inline email form. A live subscriber counter animates up from zero on load, and a row of stacked avatars plus a five-star trust badge reinforce social proof before the visitor commits.

The form validates the email on submit: an empty or malformed address shows an inline error message and a shake micro-interaction, while a valid address triggers a loading spinner on the button, then flips the whole card into a celebratory success state with a checkmark burst and a personalized confirmation. A small toast helper echoes the result, and the subscriber count ticks up by one to acknowledge the new signup.

Everything is vanilla — no frameworks or build step. Controls are keyboard-usable with visible focus rings, ARIA live regions announce validation and success messages, colors meet WCAG AA contrast on the dark surface, and a dedicated mobile breakpoint reflows the form into a stacked column at narrow widths.