StealThis .dev
页面 中等

Hotel Booking — Room Results

Room results grid with a sticky stay summary bar, a filter sidebar (price range, room type, bed, amenities) and a sort control — all reacting live in vanilla JS to narrow and reorder the room cards.

在 Lab 中打开
html css vanilla-js
目标: JS HTML

代码

Room Results

The step after search: a results page listing available rooms for the chosen dates. A sticky summary bar echoes the stay (dates · nights · guests). The filter sidebar narrows by price range, room type, bed configuration and amenities; the sort control reorders by price or size. Every control updates the visible cards and the result count live in vanilla JS, with an empty state when filters exclude everything. Each card shows a price for the whole stay and a Select room call to action.