Answered step by step
Verified Expert Solution
Link Copied!

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.

  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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Knowledge Discovery In Databases

Authors: Gregory Piatetsky-Shapiro, William Frawley

1st Edition

0262660709, 978-0262660709

More Books

Students also viewed these Databases questions

Question

What went well? What could have gone better?

Answered: 1 week ago