StealThis .dev
页面 中等

Hotel Booking — Room Detail

Room detail page with a switchable image gallery, amenities grid and selectable rate plans (flexible / non-refundable / bed & breakfast) feeding a sticky booking summary that recalculates the stay total live.

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

代码

Room Detail

The room page a guest lands on after picking a result. A gallery with a large hero and clickable thumbnails sits beside the room title, size and sleeping arrangement. Below, an amenities grid and a description. The heart of the page is the rate plan selector — flexible, non-refundable saver, and bed & breakfast — each a radio card with its own nightly price and policy. Selecting a plan updates the sticky booking summary (nightly rate × nights + taxes) and the reserve button in vanilla JS.