Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

using Javascript, if you need any more information please just let me know, I am very responsive. CSC174 lab nit 02 (1) Protected Vizw Saved

using Javascript, if you need any more information please just let me know, I am very responsive.

image text in transcribed

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

CSC174 lab nit 02 (1) Protected Vizw Saved to this PC evin b File Home Insert Draw Design Layout References Mailings Review View Help Tell me what you want to do Share Comments PROIECTED VIEW Be caretul- tles from the Internet can contain uses, Unless you noed to edit, It's sater to stay in Protacted view Enabla Editing 02 Lab sections. There Is only one flle In thls project: foan.html When you open the loan.html file in a browser, you should see something like this: (- C ile:// C: Users YAL20butxumernst each Node 'lecture, met ertoVlns :: UQ Entrr Laa Data Amt of the law 1 Toal pryat 4234 19 Modify this program so that the annual interest rate is not based on user's input, but based on user's credit score. Below is the logic: Credit Score |=400 >=500| >=600 >=700 >=800 Chtml> JavaScript 1 Loan Calculator style> / This is a css style sheet: it adds style to the program output .output font-weight: bold; #payment { text-decoration: underline ; } /* For element with id="payment" */ #graph { border: solid black 1px; } th, td tvertical-align: top; Calculated values in bold / Chart has a simple border Don't center table cells 10 12 13 14 15 16 17 18 19 20 21 This is an HTML table with elements that allow the user to enter data and elements in which the program can display its results These elements have ds like "interest" and "years". These ids are used in the JavaScript code that follows the table. Note that some of the input elements define "onchange" or "onclick" event handlers. These specify strings of JavaScript code to be executed when the user enters data or clicks Enter Loan Data: td> x/tr> 23 24 25 26 27 28 2 9 30 31 32 tr Kcanvas id-"graph" width-"400" height-"250"x/canvasx/td/tr> id-"score" onchange-"calculate ( );"> id="years" onchange="calculate();"> id:"gRsede" Credit Score: 34 loan.htmlX ctd>Total interest: 43
Loan Balance, Cumulative Equity, and Interest Payments Amount of the loan (S):/td onchange="calculate();"> Repayment period (years): zipcode (to find lenders):
$
45 !The rest of this example is JavaScript code in the CSC174 lab nit 02 (1) Protected Vizw Saved to this PC evin b File Home Insert Draw Design Layout References Mailings Review View Help Tell me what you want to do Share Comments PROIECTED VIEW Be caretul- tles from the Internet can contain uses, Unless you noed to edit, It's sater to stay in Protacted view Enabla Editing 02 Lab sections. There Is only one flle In thls project: foan.html When you open the loan.html file in a browser, you should see something like this: (- C ile:// C: Users YAL20butxumernst each Node 'lecture, met ertoVlns :: UQ Entrr Laa Data Amt of the law 1 Toal pryat 4234 19 Modify this program so that the annual interest rate is not based on user's input, but based on user's credit score. Below is the logic: Credit Score |=400 >=500| >=600 >=700 >=800 Chtml> JavaScript 1 Loan Calculator style> / This is a css style sheet: it adds style to the program output .output font-weight: bold; #payment { text-decoration: underline ; } /* For element with id="payment" */ #graph { border: solid black 1px; } th, td tvertical-align: top; Calculated values in bold / Chart has a simple border Don't center table cells 10 12 13 14 15 16 17 18 19 20 21 This is an HTML table with elements that allow the user to enter data and elements in which the program can display its results These elements have ds like "interest" and "years". These ids are used in the JavaScript code that follows the table. Note that some of the input elements define "onchange" or "onclick" event handlers. These specify strings of JavaScript code to be executed when the user enters data or clicks Enter Loan Data: td> x/tr> 23 24 25 26 27 28 2 9 30 31 32 tr Kcanvas id-"graph" width-"400" height-"250"x/canvasx/td/tr> id-"score" onchange-"calculate ( );"> id="years" onchange="calculate();"> id:"gRsede" Credit Score: 34 loan.htmlX ctd>Total interest: 43
Loan Balance, Cumulative Equity, and Interest Payments Amount of the loan (S):/td onchange="calculate();"> Repayment period (years): zipcode (to find lenders):
$
45 !The rest of this example is JavaScript code in the

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

Database Modeling And Design

Authors: Toby J. Teorey, Sam S. Lightstone, Tom Nadeau, H.V. Jagadish

5th Edition

0123820200, 978-0123820204

More Books

Students also viewed these Databases questions

Question

1-4 How will MIS help my career?

Answered: 1 week ago