Skip to content

HtetAungH/Online_booking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Online_booking

Online Ticket Booking Form

A simple, responsive online ticket booking form built using HTML, CSS, and JavaScript. This project demonstrates how to create a modern form with interactive features where users can input their details and book tickets online.

Features

  • User-friendly interface with a clean and modern design.
  • Responsive layout that adapts to different screen sizes.
  • Country selection dropdown to capture user location.
  • Ticket type and quantity input with automatic price calculation.
  • Interactive form elements with smooth hover and focus effects.
  • Real-time booking confirmation after form submission.

Technologies Used

  • HTML: For structuring the form elements.
  • CSS: For styling and adding animations, transitions, and responsiveness.
  • JavaScript: For handling form submission, calculating ticket prices, and displaying booking details dynamically.

How to Use

  1. Clone the repository or download the files: bash git clone https://github.com/your-username/online-ticket-booking.git
  2. Navigate to the project folder: bash cd online-ticket-booking
  3. Open the index.html file in your browser to view and interact with the booking form.

Form Inputs

Name: Enter your full name. Email: Provide a valid email address. Country: Choose your country from the dropdown list. Ticket Type: Select either a Standard or VIP ticket. Quantity: Specify how many tickets you want to book.

Price Calculation

Standard Ticket: $50 VIP Ticket: $100

Once the user selects a ticket type and quantity, the form calculates the total cost and displays the booking confirmation with the price breakdown.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published