Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Edit the upperCrustAdmissions.html file created to include a function (this function is defined in the head tags of the HTML code (where all JavaScript functions

Edit the upperCrustAdmissions.html file created to include a function (this function is defined in the head tags of the HTML code (where all JavaScript functions are defined) and called into action in the body tags). You will send into the function an indicator of the acceptance of the student. (I suggest that you assign a number to the acceptance -- maybe a 1 for accepted without a scholarship, 2 for accepted with a scholarship, and 3 for not accepted. It is easier to pass a number into a function than a word.)

Once in the function create a series of if then else statements to determine and display in the web page (not an alert box) the tuition that the student will pay. Make you own tuition rates for accepted without a scholarship and another rate (lower than the first one) for tuition with a scholarship. If not accepted then display "Not Accepted" So maybe Tuition without a scholarship is $10,000.00, tuition with a scholarship $6,800.00, and not accepted is $0.00 (not accepted)

UppercrustAdmissions

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

Object Oriented Databases Prentice Hall International Series In Computer Science

Authors: John G. Hughes

1st Edition

0136298745, 978-0136298748

More Books

Students also viewed these Databases questions

Question

What is the Sharpe performance measure for portfolio Q?

Answered: 1 week ago

Question

List the components of the strategic management process. page 72

Answered: 1 week ago