diff --git a/02.Creative Loading Animation/index.html b/02.Creative Loading Animation/index.html index 3297fa7..9cb5f43 100644 --- a/02.Creative Loading Animation/index.html +++ b/02.Creative Loading Animation/index.html @@ -7,6 +7,7 @@ +
diff --git a/04. Creative Image Hover Effect/index.html b/04. Creative Image Hover Effect/index.html index 7595211..09c3fb8 100644 --- a/04. Creative Image Hover Effect/index.html +++ b/04. Creative Image Hover Effect/index.html @@ -7,6 +7,7 @@ +
diff --git a/27. Lazy Loading/app.js b/27. Lazy Loading/app.js index 5d4d92f..ed5c503 100644 --- a/27. Lazy Loading/app.js +++ b/27. Lazy Loading/app.js @@ -5,12 +5,12 @@ let load = 0; let int = setInterval(blurring, 30); function blurring() { + load++; - if (load > 99) { clearInterval(int); } - + loadText.innerText = `${load}%`; loadText.style.opacity = scale(load, 0, 100, 1, 0); background.style.filter = `blur(${scale(load, 0, 100, 30, 0)}px)`;