Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I've been trying to solve this. Need help. In HTML and Javascript, create a ticket cost estimator page for an airline. The page should: Contain
I've been trying to solve this. Need help.
- In HTML and Javascript, create a ticket cost estimator page for an airline. The page should:
- Contain the name of your fictional airline.
- Contain information about ticket pricing. There should be information about
- Destination ticket costs (at least two different destinations should be available)
- Transportation tax (assessed as a percentage of the ticket cost)
- Security fee (assessed on a per ticket basis)
- The page should contain a form where users may:
- Enter the number of tickets desired
- Select a destination
- The calculation function(s) should
- Verify that a positive, numerical value was entered for ticket quantity
- If data is invalid, an error should be displayed
- If data is valid, determine and display on the page:
- The ticket costs
- The additional fee and tax costs
- The total ticket cost
- Verify that a positive, numerical value was entered for ticket quantity
Example: Seasons Airlines flies daily to Winterhold ($199), Riften ($99), and Marketh ($299). There is a 1.5% transportation tax, and a $15 security fee per ticket.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started