Question: 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.

  1. In HTML and Javascript, create a ticket cost estimator page for an airline. The page should:
    1. Contain the name of your fictional airline.
    2. Contain information about ticket pricing. There should be information about
      1. Destination ticket costs (at least two different destinations should be available)
      2. Transportation tax (assessed as a percentage of the ticket cost)
      3. Security fee (assessed on a per ticket basis)
    3. The page should contain a form where users may:
      1. Enter the number of tickets desired
      2. Select a destination
    4. The calculation function(s) should
      1. Verify that a positive, numerical value was entered for ticket quantity
        1. If data is invalid, an error should be displayed
        2. If data is valid, determine and display on the page:
          1. The ticket costs
          2. The additional fee and tax costs
          3. The total ticket cost

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!