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.**