Solved

William Wants to Create a Dialog Box in His Website

Question 44

Multiple Choice

William wants to create a dialog box in his website to display the message "My name is William". Which of the following syntaxes must William use to display the message?


A) alert("My name is William")
B) confirm("My name is William")
C) prompt("My name is William")
D) print("My name is William")

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents