PrepAway - Latest Free Exam Questions & Answers

Which of the following methods can Marcos use to ask the user for input?

Marcos is writing a client-side JavaScript that asks the user to type a dollar amount that will be
used to compute a loan payment amount. Which of the following methods can Marcos use to ask
the user for input?

PrepAway - Latest Free Exam Questions & Answers

A.
prompt(Please enter the loan amount., );

B.
alert(Please enter the loan amount.);

C.
input(Please enter the loan amount., Loan Calculation);

D.
msgbox(Please enter the loan amount.);


Leave a Reply