How is the alert() method different from prompt() and confirm() ?
A) The alert() method generates a modal dialog box, which requires user action before the next JavaScript instruction can be executed, whereas prompt() and confirm() do not.
B) The alert() method requires only one parameter, whereas prompt() and confirm() require two parameters.
C) The alert() method requires two parameters, whereas prompt() and confirm() require only one parameter.
D) The prompt() and confirm() methods return a value, whereas alert() does not.
Correct Answer:
Verified
Q20: Consider the following code: Q21: Which of the following will correctly declare Q22: Consider the following code: Q23: Consider the following code: var myString= "Hello Q24: Which of the following will correctly modify Q25: Which of the following is a reason Q26: Maria, a 22-year old student, is testing Q28: Consider the following select list: Q29: Consider the following code: Q30: Which example correctly implements inline scripting with Unlock this Answer For Free Now! View this answer and more for free by performing one of the following actions Scan the QR code to install the App and get 2 free unlocks Unlock quizzes for free by uploading documents