From d3815cad00a5225bc3f857757a5d4047bb1ebfb4 Mon Sep 17 00:00:00 2001 From: FURK4NGG <105324908+FURK4NGG@users.noreply.github.com> Date: Sun, 6 Oct 2024 15:04:33 +0300 Subject: [PATCH] Update 1.js --- JAVASCRIPT/tr/1.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/JAVASCRIPT/tr/1.js b/JAVASCRIPT/tr/1.js index 89276b3..4e3b090 100644 --- a/JAVASCRIPT/tr/1.js +++ b/JAVASCRIPT/tr/1.js @@ -39,7 +39,7 @@ document.addEventListener('scroll', () => { const windowHeight = window.innerHeight; const totalHeight = document.body.scrollHeight; - const scrollPercent = scrollPosition*4.5 / (totalHeight - windowHeight); + const scrollPercent = scrollPosition*4.4 / (totalHeight - windowHeight); words.forEach((word, index) => { const wordOffset = index / words.length;