From 2802a6d5cd20d688c58fe1f8c3d0b9d299a8ce84 Mon Sep 17 00:00:00 2001 From: pimonenkov <46793251+pimonenkov@users.noreply.github.com> Date: Tue, 30 Apr 2019 14:07:36 +0300 Subject: [PATCH] replace "press" with "click" "press" is when we push a keyboard key "click"/"select" is when we use a mouse button. --- 1-js/02-first-steps/16-javascript-specials/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/02-first-steps/16-javascript-specials/article.md b/1-js/02-first-steps/16-javascript-specials/article.md index e266861c..9de1d625 100644 --- a/1-js/02-first-steps/16-javascript-specials/article.md +++ b/1-js/02-first-steps/16-javascript-specials/article.md @@ -103,7 +103,7 @@ More in: and . We're using a browser as a working environment, so basic UI functions will be: [`prompt(question, [default])`](mdn:api/Window/prompt) -: Ask a `question`, and return either what the visitor entered or `null` if they pressed "cancel". +: Ask a `question`, and return either what the visitor entered or `null` if they clicked "cancel". [`confirm(question)`](mdn:api/Window/confirm) : Ask a `question` and suggest to choose between Ok and Cancel. The choice is returned as `true/false`.