This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Kangaroo Island Transfers is a simple web-based booking system for transfer services. The project consists of a static HTML/CSS/JavaScript application with a booking form for customers to request transfers.
This is a simple static web project that requires no build tools or dependencies.
To run the project:
- Open
index.htmlin a web browser - Or serve the files using a local server like
python -m http.serverornpx serve
├── index.html # Main HTML file with booking form
├── styles.css # CSS styling for the form and layout
├── script.js # JavaScript for form validation and submission
└── CLAUDE.md # This file
- Booking Form: Collects pickup location, drop-off location, date, time, and passenger count
- Form Validation: Client-side validation with error messages
- Responsive Design: Mobile-friendly layout
- Success Confirmation: Shows booking details after submission
- Pickup Location (text input, required)
- Drop-off Location (text input, required)
- Date (date input, required, minimum: today)
- Time (time input, required)
- Number of Passengers (select dropdown, 1-8+, required)
- Additional Notes (textarea, optional)
The script.js file handles:
- Form validation and error display
- Date/time validation (prevents past bookings)
- Success message display with formatted booking details
- Australian date/time formatting
The application uses a modern gradient design with:
- Purple/blue gradient background
- Clean white form container
- Responsive grid layout for date/time fields
- Hover effects and smooth transitions
- Mobile-responsive design
- Backend integration for form submission
- Email confirmation system
- Payment processing
- Booking management system
- Database integration