From 64e6233f1a474db344e7196bb6fe8cf2b13a7ab7 Mon Sep 17 00:00:00 2001 From: Alex Hughes Date: Sun, 16 Jul 2017 15:52:19 -0400 Subject: [PATCH] Changed 'waits the user' to 'waits for the user' --- 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 37f25fdc..17511f9c 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 @@ -99,7 +99,7 @@ We covered 3 browser-specific functions to interact with the visitor: : shows a message asking the user to input text. It returns the text or, if CANCEL or `key:Esc` is clicked, all browsers except Safari return `null`. `confirm` -: shows a message and waits the user to press "OK" or "CANCEL". It returns `true` for OK and `false` for CANCEL/`key:Esc`. +: shows a message and waits for the user to press "OK" or "CANCEL". It returns `true` for OK and `false` for CANCEL/`key:Esc`. All these methods are modal: they pause the script execution and don't allow the visitor to interact with the rest of the page until the message has been dismissed.