StealThis .dev

Hotel Shuttle Schedule

An airport and city shuttle timetable widget with a direction toggle (Hotel→Airport / Airport→Hotel), a live countdown to the next departure, per-departure seat counts, and a reserve-seat button with toast feedback.

In Lab öffnen
html css vanilla-js
Targets: JS HTML

Code

Hotel Shuttle Schedule

A centered timetable card showing today’s shuttle departures between Aurelia Hotels and the airport. A direction toggle at the top switches between outbound (Hotel→Airport) and inbound (Airport→Hotel) runs. The next departure is highlighted with a live countdown clock. Each row shows departure time, stops, seats remaining, and status (On time / Boarding / Departed). The “Reserve” button decrements the seat count in real time and fires a toast confirmation.