From be244d03b279438bdd9be90c7a9fb7d60a9962b2 Mon Sep 17 00:00:00 2001 From: Peter Roche <46547072+paroche@users.noreply.github.com> Date: Sat, 9 Nov 2019 22:05:14 -0700 Subject: [PATCH] Update article.md "but strongly" -> "but is strongly". "is strongly not recommended" is still a bit odd, though it's readable and totally understandable. Could maybe be changed to "but is strongly discouraged". Still, not bad as (now) is. --- 2-ui/2-events/01-introduction-browser-events/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2-ui/2-events/01-introduction-browser-events/article.md b/2-ui/2-events/01-introduction-browser-events/article.md index 4b0b237f..7f160154 100644 --- a/2-ui/2-events/01-introduction-browser-events/article.md +++ b/2-ui/2-events/01-introduction-browser-events/article.md @@ -181,7 +181,7 @@ button.onclick = function() { **Use functions, not strings.** -The assignment `elem.onclick = "alert(1)"` would work too. It works for compatibility reasons, but strongly not recommended. +The assignment `elem.onclick = "alert(1)"` would work too. It works for compatibility reasons, but is strongly not recommended. **Don't use `setAttribute` for handlers.**