StealThis .dev

Wedding — Testimonials

An editorial romantic testimonials section for wedding planners and venues: elegant blush-and-gold quote cards pairing a couple portrait, wedding date and venue with a heartfelt review. A soft carousel glides between stories with prev, next and dot controls, autoplay that pauses on hover, keyboard arrows, swipe on touch, and a live star-rating summary. Thin gold rules and generous Cormorant serifs keep it airy, accessible and calm.

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

Code

A refined couple-testimonials block built for wedding planners, venues and photographers. Each slide is a quote card that pairs a soft-framed couple portrait with the wedding date, venue and a five-star rating, set in an airy blush-and-gold editorial style. Cormorant Garamond headings and thin gold rules give the section a romantic, magazine-like calm while keeping text at WCAG AA contrast.

The carousel is the centerpiece. A single story is shown at a time and glides horizontally with a smooth transition. Visitors can move between stories with the gold prev/next buttons, click a dot to jump directly, use the left/right arrow keys, or swipe on touch devices. Autoplay advances the stories on a gentle timer and politely pauses whenever the pointer is over the card or a control is focused, so nobody loses their place mid-read.

Above the track, a live summary tallies the average rating and total celebrations, and a small toast confirms interactions like copying a couple’s story link. Everything is vanilla HTML, CSS and JavaScript — no frameworks, no build step — and the layout collapses gracefully to a single comfortable column down to 360px.