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.