nerdexam
CIW

1D0-520 · Question #89

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…

The correct answer is C. prompt(Please enter the loan amount., ). See the full explanation below for the reasoning.

Question

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?

Options

  • Aalert(Please enter the loan amount.);
  • Bmsgbox(Please enter the loan amount.);
  • Cprompt(Please enter the loan amount., );
  • Dinput(Please enter the loan amount., Loan Calculation);

How the community answered

(66 responses)
  • A
    3% (2)
  • B
    8% (5)
  • C
    76% (50)
  • D
    14% (9)

Community Discussion

No community discussion yet for this question.

Full 1D0-520 Practice