Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

plz using javascript. When you open the loan.html file in a browser, you should see something like this: Modify this program so that the annual

plz using javascript. When you open the loan.html file in a browser, you should see something like this:

image text in transcribed

Modify this program so that the annual interest rate is not based on users input, but based on users credit score. Below is the logic:

Credit Score =400

=500

=600

=700

=800

Interest Rate 10.0 8.0 6.0 4.0 3.5 3.0

After you have modified your program you calculator should look like this:

image text in transcribed

*All questions are based on the original loan.html source code.

Question 1: Where is the JavaScript code located in this program, the head or the body of the HTML document?

Question 2: Is this client-side JavaScript or server-side JavaScript code?

Question 3: How many programmer defined functions are there in this program? Please list their names. If its an anonymous function write the function definition.

Question 4: Do you spy any predefined global objects used in this program? List as many as you know.

Question 5: Do you spy any HTML event registered? If so what type event it is and who is the event handler

JavaScript Loan Calcu r). C [9 file:///C/Users/YA12660/Documents/teach/Node/lecture, mat :AppsSearch 8080 C medsun Learning the Korn Time Warner Cable Loan Balance, Cumulative Enter Loan Data: Amount of the loan (S): 10000 Annual interest (%) Repayment period (years): Zipcode (to find lenders): 27513 Approrimate Payments: Calculate Monthly payment: Total payment: Total interest: Total Interest Payments Total Equity Loan Balance 5 S79.08 $14234.29 $4234.29 ea

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

Current Trends In Database Technology Edbt 2006 Edbt 2006 Workshops Phd Datax Iidb Iiha Icsnw Qlqp Pim Parma And Reactivity On The Web Munich Germany March 2006 Revised Selected Papers Lncs 4254

Authors: Torsten Grust ,Hagen Hopfner ,Arantza Illarramendi ,Stefan Jablonski ,Marco Mesiti ,Sascha Muller ,Paula-Lavinia Patranjan ,Kai-Uwe Sattler ,Myra Spiliopoulou ,Jef Wijsen

2006th Edition

3540467882, 978-3540467885

More Books

Students also viewed these Databases questions