From dc5de4868e53f7971cbe26eb4f8b4958ac254e70 Mon Sep 17 00:00:00 2001 From: Vse Mozhe Buty Date: Tue, 8 Sep 2020 16:56:35 +0300 Subject: [PATCH] Fix typo in 1.2.6 --- 1-js/02-first-steps/06-alert-prompt-confirm/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/02-first-steps/06-alert-prompt-confirm/article.md b/1-js/02-first-steps/06-alert-prompt-confirm/article.md index 73b183e5..ef0f333c 100644 --- a/1-js/02-first-steps/06-alert-prompt-confirm/article.md +++ b/1-js/02-first-steps/06-alert-prompt-confirm/article.md @@ -31,7 +31,7 @@ It shows a modal window with a text message, an input field for the visitor, and : An optional second parameter, the initial value for the input field. ```smart header="The square brackets in syntax `[...]`" -The square brackets around `default` in the syntax above denote that the parameter as optional, not required. +The square brackets around `default` in the syntax above denote that the parameter is optional, not required. ``` The visitor can type something in the prompt input field and press OK. Then we get that text in the `result`. Or they can cancel the input by pressing Cancel or hitting the `key:Esc` key, then we get `null` as the `result`.