StealThis .dev
Pages Hard

Auto — EV Dealership Landing

An ultra-clean, Tesla-style landing page for a fictional electric-vehicle maker built in pure HTML, CSS, and vanilla JavaScript. It pairs a minimal white aesthetic with electric-blue accents, animated range and charging stats, a tabbed model lineup, a live charging-curve simulator with an animated SVG battery ring, a performance and autonomy feature grid, and a fully interactive build configurator that updates a running price summary. Scroll reveal, a sticky blurred nav, and a mobile menu round it out.

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

Code

EV Dealership Landing

A complete, single-screen marketing landing for Voltway, a fictional electric-vehicle brand. The design leans into a futuristic, minimal language: a near-white canvas, generous whitespace, an Inter type scale, and a single electric-blue accent doing all the heavy lifting. The hero opens with a CSS-rendered car silhouette, glowing orbs over a faint grid, and four headline stats — EPA range, 0–60, peak charge rate, and network size — that count up the first time they scroll into view, all rendered with tabular figures.

The page is genuinely interactive. The model section uses a pill tab switcher to swap between the Aero sedan, Range SUV, and Haul truck, each with its own spec grid and gradient vehicle plate. The charging section runs a live simulator: an animated SVG ring fills along a realistic charge curve, the kW rate tapers as the pack fills, and miles-added and time-to-80% update in real time, with a restart control. Down in the order section, a build configurator lets you pick model, range pack, autonomy package, and paint — every choice re-prices a live summary panel, and the model cards can push a selection straight into it.

Everything is vanilla: a small toast() helper for confirmations, an IntersectionObserver for scroll reveal and lazy-started animations, a sticky nav that gains a border on scroll, and an accessible mobile menu. It degrades gracefully without IntersectionObserver, respects prefers-reduced-motion, and stays usable down to 360px with a mobile-first layout, keyboard-reachable controls, and WCAG AA contrast.

Illustrative UI only — fictional shop/dealership, not a real service system.