From 95a9a9f808fdcc911d5522072133577f3fbff065 Mon Sep 17 00:00:00 2001 From: FURK4NGG <105324908+FURK4NGG@users.noreply.github.com> Date: Sun, 6 Oct 2024 15:06:15 +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 4e3b090..766b427 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.4 / (totalHeight - windowHeight); + const scrollPercent = scrollPosition*4.6 / (totalHeight - windowHeight); words.forEach((word, index) => { const wordOffset = index / words.length;