From e3eeafb601b4411598862817f95a6b009592f142 Mon Sep 17 00:00:00 2001 From: somethingtrippy <40808441+somethingtrippy@users.noreply.github.com> Date: Thu, 13 Dec 2018 05:29:00 -0600 Subject: [PATCH] Update wording of prevent default description (#24706) --- guide/english/javascript/onclick-event/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guide/english/javascript/onclick-event/index.md b/guide/english/javascript/onclick-event/index.md index 3516eda901..d1c209120f 100644 --- a/guide/english/javascript/onclick-event/index.md +++ b/guide/english/javascript/onclick-event/index.md @@ -41,7 +41,7 @@ It's important to note that using onclick we can add just one listener function. In the above example, when a user clicks on the `paragraph` element in the `html`, they will see an alert showing `onclick Event triggered`. ### Preventing default action -However if we attach `onclick` to links (HTML's `a` tag) we might want prevent default action to occur: +By attaching `onclick` to links (HTML's `a` tag), we can also prevent the default click action from occurring. ```javascript Guides