StealThis .dev

Game — Editions / Bundle Compare Table

A dark neon editions comparison table for a fictional AAA release with Standard, Deluxe, and Ultimate columns: edition art headers, strike-through pricing with savings badges, a feature matrix using check, cross, and partial marks, and a glowing best-value Ultimate column. Vanilla JS powers a one-time versus 4-payment plan toggle, USD/EUR/GBP currency switching, hover column highlighting, collapsible what-is-included row groups, and toast feedback on every Buy CTA.

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

Code

Editions / Bundle Compare Table

A store-page style editions comparison for the fictional Nullforge title Hollow Reign. Three edition columns — Standard, Deluxe, and Ultimate — each get a clipped-corner art tile, an Orbitron price block with strike-through “was” pricing, a pill savings badge, and an angled Buy CTA. The Ultimate column carries a pulsing “Best value” hex badge, a violet glow card, and a gradient primary button so the upsell target is unmistakable.

Below the headers sits a feature matrix split into collapsible row groups (Core game, Expansions & season pass, Cosmetics & extras). Cells use glowing check marks, dimmed crosses, and amber partial chips like “48h” or “1 of 3” to communicate nuance instead of a binary yes/no.

The script wires two toggle groups — one-time vs. a 4-payment monthly plan, and USD/EUR/GBP currency — that recompute every price, “was” value, and savings badge with a brief neon flash. Hovering any cell highlights its whole column via <col> classes, section headers expand or collapse their row groups with proper aria-expanded, and each Buy button fires a toast confirming the edition and current price.

Illustrative UI only — fictional games, studios, characters, and data. Not engine integrations.