From 5aed76219d57441111bb1fd1c90a7d7b5222ee4f Mon Sep 17 00:00:00 2001 From: Jen Looper Date: Mon, 31 May 2021 21:30:39 -0400 Subject: [PATCH] Update README.md Ari's changes - Event argument added --- 6-bank-project/1-template-route/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/6-bank-project/1-template-route/README.md b/6-bank-project/1-template-route/README.md index 0131bd6d..2e6a694c 100644 --- a/6-bank-project/1-template-route/README.md +++ b/6-bank-project/1-template-route/README.md @@ -247,9 +247,9 @@ function onLinkClick(event) { Let's complete the navigation system by adding bindings to our *Login* and *Logout* links in the HTML. ```html -Login +Login ... -Logout +Logout ``` Using the [`onclick`](https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onclick) attribute bind the `click` event to JavaScript code, here the call to the `navigate()` function.