Which of the following will prompt the user to enter his or her name?

a. var name = window.open("What is your name?");
b. prompt("What is your name?", name);
c. var name = document.write("What is your name?");
d. var name = prompt("What is your name?");

d. var name = prompt("What is your name?");

Computer Science & Information Technology

You might also like to view...

To modify an existing formula in a table, from the shortcut menu select:

A) Edit Formula. B) Update Formula. C) Update Field. D) Edit Field.

Computer Science & Information Technology

The statement variable = variable + newValue; is an example of an accounting statement.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology