From 1728f97425db21ec831cf710627c91711394762a Mon Sep 17 00:00:00 2001 From: Atul Soman Date: Tue, 9 Apr 2019 14:09:55 +0530 Subject: [PATCH] Fixing the syntax typo in prompt --- 1-js/02-first-steps/09-alert-prompt-confirm/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/02-first-steps/09-alert-prompt-confirm/article.md b/1-js/02-first-steps/09-alert-prompt-confirm/article.md index 4bbfd58f..f69c2d23 100644 --- a/1-js/02-first-steps/09-alert-prompt-confirm/article.md +++ b/1-js/02-first-steps/09-alert-prompt-confirm/article.md @@ -27,7 +27,7 @@ The mini-window with the message is called a *modal window*. The word "modal" me The function `prompt` accepts two arguments: ```js no-beautify -result = prompt(title[, default]); +result = prompt(title, [default]); ``` It shows a modal window with a text message, an input field for the visitor, and the buttons OK/CANCEL.