Bus Seat Booking Web App

Замовник: AI | Опубліковано: 06.03.2026

I’m building a small, self-contained web application that lets travellers pick their seats and buy bus tickets without refreshing the page or calling a back-end. Your job is to deliver the complete front-end in vanilla HTML, CSS and JavaScript, persisting everything with LocalStorage so the booking survives a browser refresh. Core flow • Users land on a responsive seating layout and can choose several seats in one go. • A passenger form then collects name, contact details, ID proof and age for every seat. • When the form is submitted, the user is taken to a separate summary page that lists each seat, passenger data and the total price, all drawn from LocalStorage so it can be revisited or printed. Acceptance criteria • Seat map visually reflects availability, selection and already-booked states. • Multiple seats can be toggled before confirming, with automatic form fields generated per seat. • All passenger data and seat choices are stored and re-rendered solely from LocalStorage. • Summary page loads the saved data, shows it in an organised layout and provides a “confirm” and “start over” option. • Code is clean, commented, and does not rely on external frameworks. Please include brief setup notes so I can drop the files on any static host and see it running immediately.