StealThis .dev
Pages Medium

DIY — Kit Product Landing

Blueprint-styled product landing page for a fictional RoboBug walking-robot electronics kit, featuring a schematic hero with animated SVG render, age and no-soldering badges, an add-to-cart flow with counter and toast, a parts-manifest grid with mono part numbers, a build-step carousel, a three-tier comparison table, star-breakdown reviews, a sticky mini cart bar that appears after the hero, and a fully accessible FAQ accordion — all in vanilla HTML, CSS, and JS.

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

Code

Kit Product Landing

A complete e-commerce landing page for a fictional beginner electronics kit — “RoboBug, build your first walking robot.” The hero sits on a navy blueprint grid with an animated SVG schematic of the robot, age and no-soldering badges, strikethrough pricing, and a safety-orange add-to-cart button. Below it, a dark tools strip lists build time, tools needed, and power requirements in mono labels, followed by a “what’s in the box” grid where each component card carries a part number badge (SRV-9G, CTL-BUG1, CHS-PLY3) and quantity.

Interactions are all vanilla JS: a shared cart counter bumps and fires a toast from every add button (hero, tier table, and mini cart), a four-slide build-step carousel supports arrow buttons, generated dot navigation, and left/right keyboard keys, and a sticky mini cart bar slides up from the bottom once the hero scrolls out of view via IntersectionObserver.

The lower half compares Starter, Pro, and Classroom Pack tiers in a responsive table with feature checks and per-tier add buttons, shows a reviews section with animated star-breakdown bars and three review cards, and closes with a single-open FAQ accordion wired with proper aria-expanded / aria-controls semantics. Everything works down to 360px wide.

Illustrative UI only — always follow real safety guidance when working with tools, electronics, or repairs.