FlowCraft · Live demo

FlowCraft Offer Countdown

A countdown for offers that really end. This demo gives you your own 24-hour window from your first visit: refresh the page and it carries on, and when it reaches zero the offer is replaced by an "Offer ended" message that stays. It runs the same app.js that comes with the paid component.

Sample offer. The 20% launch offer and the code are placeholders for this demo, not a real HaveInsights discount. Nothing you enter here is saved or sent.

Try it

  1. Refresh the page. The countdown carries on from where it was. It doesn't start again.
  2. Copy the code. The discount code and "Claim" button show only while the offer is open.
  3. See it end. Use "Skip to the last 10 seconds" below to watch the swap to "Offer ended".
A laptop showing a new website, a stopwatch and a 20% off tag

Launch offer

20% off a new website

Book your website project while this offer is open and save 20% on design and build.

Offer ends in

Ends —

CodeLAUNCH20
Claim the offer →

Sample offer. Applies to new website projects booked before the offer ends.

Demo controls For this catalogue page only. They are not in the product: visitors to your site can't skip or restart their window.

We'll only use your email to reply. No spam.

Built to be honest

Urgency that's real

Timers that quietly restart, or deadlines that never actually arrive, are treated as deceptive by consumer-protection regulators such as the US FTC and the UK CMA. The Offer Countdown is built so the clock only ever shows a real end.

  1. No quiet restartsA personal window is saved in the visitor's browser. Refreshes and new tabs continue it, and once it ends it stays ended.
  2. Real dates for real salesSwitch to a fixed deadline for "ends Sunday at midnight", and add a hard stop so no window runs past the end of a campaign.
  3. The exact end time, shownVisitors see when the offer ends in their own time zone, and the code disappears when it does.

One more step for you: a browser timer keeps the page truthful, but anyone can clear their browser data. Give the discount code the same expiry date in your checkout, so the deadline is honoured everywhere.

<section data-countdown
  data-mode="personal"
  data-offer-id="launch-20"
  data-duration-hours="24"
  data-offer-ends="2026-10-31T23:59-07:00">

<!-- or, the same deadline for everyone -->
<section data-countdown
  data-mode="fixed"
  data-deadline="2026-10-31T23:59-07:00">
The clock is recalculated from the real time on every tick, so it never drifts, and it catches up instantly when a background tab comes back. Screen readers hear the time left once a minute, not every second.

What the full version includes

Delivered as a ZIP download through Payhip.

  • index.htmlOffer card, countdown, "Offer ended" message and quote form, styled with Tailwind CSS
  • app.jsPersonal and fixed deadlines, the countdown, the expiry swap and the quote form, heavily commented
  • style.cssDigit tick and the fade from the offer to "Offer ended"
  • assets/images/A sample offer illustration, plus README.txt (with testing tips) and an optional .htaccess

Requirements

  • A real offer and deadline. Only show a countdown for an offer that genuinely ends when the timer says, and set the same expiry on your discount code at checkout.
  • Any web host, or none. The page also works when index.html is opened directly from your computer.
  • A form endpoint to receive leads (optional). Any service that accepts a JSON POST, for example Formspree, Make or Zapier. Until you add one, the quote form sends nothing and says so.
  • An internet connection for visitors. Tailwind CSS loads from its public CDN. No npm install or build step.

Get the Offer Countdown

Start with the free static shell to check the layout, or get the full version with the working countdown you just tried.

Free

Free Static HTML Shell

The layout: offer card with image, countdown boxes, "Offer ended" message and quote form, so you can review the design and markup.

  • Complete visual layout with the sample image
  • Sample structure and markup
  • Does not include the countdown or form logic
Try the Free Static Shell

Opens the free download on Payhip.

Full version

Full Offer Countdown — $47

The working countdown you just tried, ready for your own real offer.

  • Personal 24-hour windows that survive refreshes and never quietly restart
  • Fixed-date mode for real sales, plus an optional campaign hard stop
  • Automatic swap to "Offer ended" at zero; the code disappears with it
  • Quote form sends each visitor's email, the offer status and time left to your form service
Buy the Full Offer Countdown — $47

Checkout and download are handled by Payhip.

Back to the FlowCraft catalogue to see the other components.