From b35313ba68d325c00bbc534a53490f534c8771b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C2=A1ke?= <77801554+front42@users.noreply.github.com> Date: Sun, 3 May 2026 14:34:42 +0300 Subject: [PATCH] fix: correct events related terms in localstorage article.md en --- 6-data-storage/02-localstorage/article.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/6-data-storage/02-localstorage/article.md b/6-data-storage/02-localstorage/article.md index a99bcb6533..548af4f9c1 100644 --- a/6-data-storage/02-localstorage/article.md +++ b/6-data-storage/02-localstorage/article.md @@ -1,4 +1,4 @@ -# LocalStorage, sessionStorage +# localStorage, sessionStorage Web storage objects `localStorage` and `sessionStorage` allow to save key/value pairs in the browser. @@ -197,7 +197,7 @@ Imagine, you have two windows with the same site in each. So `localStorage` is s You might want to open this page in two browser windows to test the code below. ``` -If both windows are listening for `window.onstorage`, then each one will react on updates that happened in the other one. +If both windows are listening for `storage` event, then each one will react on updates that happened in the other one. ```js run // triggers on updates made to the same storage from other documents