From 00e9e3d6574495e6976cddd68ffbb822837a8c99 Mon Sep 17 00:00:00 2001 From: FURK4NGG <105324908+FURK4NGG@users.noreply.github.com> Date: Thu, 3 Oct 2024 20:34:30 +0300 Subject: [PATCH] Update 1.js --- JAVASCRIPT/1.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/JAVASCRIPT/1.js b/JAVASCRIPT/1.js index a11b501..88a2f68 100644 --- a/JAVASCRIPT/1.js +++ b/JAVASCRIPT/1.js @@ -21,7 +21,7 @@ document.addEventListener('scroll', () => { const windowHeight = window.innerHeight; const totalHeight = document.body.scrollHeight; - const scrollPercent = scrollPosition*4.8 / (totalHeight - windowHeight); + const scrollPercent = scrollPosition*4.7 / (totalHeight - windowHeight); words.forEach((word, index) => { const wordOffset = index / words.length;