diff --git a/1-js/13-modules/02-import-export/article.md b/1-js/13-modules/02-import-export/article.md index 1e1df336..ff703c6e 100644 --- a/1-js/13-modules/02-import-export/article.md +++ b/1-js/13-modules/02-import-export/article.md @@ -355,7 +355,7 @@ export {login, logout}; import User from './user.js'; export {User}; -import Githib from './providers/github.js'; +import Github from './providers/github.js'; export {Github}; ... ``` @@ -370,7 +370,7 @@ export {login, logout} from './helpers.js'; export {default as User} from './user.js'; -export {default as Githib} from './providers/github.js'; +export {default as Github} from './providers/github.js'; ... ``` diff --git a/6-data-storage/01-cookie/article.md b/6-data-storage/01-cookie/article.md index fcf52f40..ee16cb36 100644 --- a/6-data-storage/01-cookie/article.md +++ b/6-data-storage/01-cookie/article.md @@ -167,7 +167,7 @@ document.cookie = "user=John; max-age=0"; The cookie should be transferred only over HTTPS. -**By default, if we set a cookie at `http://site.com`, then it also appears at `https://site.com` and vise versa.** +**By default, if we set a cookie at `http://site.com`, then it also appears at `https://site.com` and vice versa.** That is, cookies are domain-based, they do not distinguish between the protocols. diff --git a/6-data-storage/03-indexeddb/article.md b/6-data-storage/03-indexeddb/article.md index dbe38674..d7fc5bbb 100644 --- a/6-data-storage/03-indexeddb/article.md +++ b/6-data-storage/03-indexeddb/article.md @@ -142,7 +142,7 @@ To do an upgrade, there are two main ways: 1. We can compare versions and run per-version operations. 2. Or we can get a list of existing object stores as `db.objectStoreNames`. That object is a [DOMStringList](https://html.spec.whatwg.org/multipage/common-dom-interfaces.html#domstringlist), and it provides `contains(name)` method to check for the existance. And then we can do updates depending on what exists. -Here's the demo of thee second approach: +Here's the demo of the second approach: ```js let openRequest = indexedDB.open("db", 1);