StealThis .dev

Construction — Customer Reviews

A rugged customer reviews section for a construction firm with an aggregate rating header, per-star breakdown bars, verified-badge review cards tagged by project type, and live filter-by-rating plus sort-by-recent or highest controls driven entirely by vanilla JavaScript.

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

Code

Customer Reviews

A sturdy, hi-vis reviews block for a general contractor or trades business. The header carries the aggregate score, a star row, the total review count and a set of per-star breakdown bars so visitors can scan sentiment at a glance.

Below it, a toolbar lets you filter by star rating and sort by most recent or highest rated. Each review card shows the reviewer, their project type (roofing, kitchen remodel, concrete pour and more), a verified badge, the date and the full comment. Filtering and sorting update the visible set and a live result count without any page reload.

Everything is hand-built with semantic markup, focus styles and a responsive layout that stacks the breakdown and toolbar cleanly on narrow screens. No libraries — just vanilla JS.

Illustrative UI only — not for real business use.