From 2957e71a05a3303f6c52a5181982b5df05dc5ec9 Mon Sep 17 00:00:00 2001 From: Ilya Kantor Date: Fri, 23 Jul 2021 10:10:17 +0300 Subject: [PATCH] minor fixes --- 2-ui/5-loading/01-onload-ondomcontentloaded/article.md | 4 ++-- 6-data-storage/02-localstorage/article.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/2-ui/5-loading/01-onload-ondomcontentloaded/article.md b/2-ui/5-loading/01-onload-ondomcontentloaded/article.md index 9cc9fc7c..19755437 100644 --- a/2-ui/5-loading/01-onload-ondomcontentloaded/article.md +++ b/2-ui/5-loading/01-onload-ondomcontentloaded/article.md @@ -2,7 +2,7 @@ The lifecycle of an HTML page has three important events: -- `DOMContentLoaded` -- the browser fully loaded HTML, and the DOM tree is built, but external resources like pictures `` and stylesheets may not yet have loaded. +- `DOMContentLoaded` -- the browser fully loaded HTML, and the DOM tree is built, but external resources like pictures `` and stylesheets may not yet have loaded. - `load` -- not only HTML is loaded, but also all the external resources: images, styles etc. - `beforeunload/unload` -- the user is leaving the page. @@ -114,7 +114,7 @@ The example below correctly shows image sizes, because `window.onload` waits for ```html run height=200 refresh