Valid Web-Development-Applications Dumps shared by ExamDiscuss.com for Helping Passing Web-Development-Applications Exam! ExamDiscuss.com now offer the newest Web-Development-Applications exam dumps, the ExamDiscuss.com Web-Development-Applications exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com Web-Development-Applications dumps with Test Engine here:
Which method should a developer use to create a message that requests a user to select "OK" or "Cancel"?
Correct Answer: C
> "The `confirm()` method displays a dialog box with OK and Cancel buttons. It returns `true` if OK is selected and `false` otherwise." > > * `alert()` only shows a message > * `prompt()` includes a text input field > * `write()` outputs directly to the document References: * MDN Web Docs: confirm() * ECMAScript Browser Dialogs ---