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...

If voice is converted to digital form using PCM, how many bits of data will be produced in one-half second?

What will be an ideal response?

Computer Science & Information Technology

Outline symbols do not display in ________ Layout view

Fill in the blank(s) with correct word

Computer Science & Information Technology

The ____ screen appears when you start Windows, switch users, or put Windows to sleep.

A. Safekeep B. Lock C. Security D. Private

Computer Science & Information Technology

The footing of the order at Premiere Products contains the order ____________________.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology