From 0f54072761c77d493a89ae675b25c165c6eedd08 Mon Sep 17 00:00:00 2001 From: Frantisek Musil Date: Tue, 16 Aug 2022 23:41:29 +0200 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ccd2aad..4a2c774 100644 --- a/README.md +++ b/README.md @@ -357,7 +357,7 @@ Let's give it a quick try 😁 ```javascript const imgs = document.querySelectorAll('img'); -const eager = Array.from(imgs).forEach(i => i.setAttribute('loading', 'lazy); +const eager = Array.from(imgs).forEach(i => i.setAttribute('loading', 'lazy'); ``` At pageload `31` images are loaded, after all images are loaded lazy `13` are loaded.