Module-first JS
index.js loads as an ES module, so it is deferred
automatically and runs after the DOM is ready.
Ship calmer, better products
Lotus Launch is a tiny, dependency-free starter page. No frameworks, no build step — just an HTML page, a stylesheet, and one ES module.
The whole page lives in three files: index.html for
structure, index.css for presentation, and
index.js — an ES module — for behaviour. The header,
scroll reveals, and the form feedback below are all wired up in a
handful of lines.
index.js loads as an ES module, so it is deferred
automatically and runs after the DOM is ready.
The form declares action="submit" and carries a
single submit button — nothing more.
Submitting triggers an in-page status message instead of a page reload, with a busy and a success state.
Press the button below. The form submits in place — no navigation, no network — and reports the result right underneath.