change speed

This commit is contained in:
sasha-astiadi 2025-02-25 03:19:36 +08:00
parent 4e908c0db8
commit 1ed9223289

View File

@ -45,7 +45,7 @@
paragraphs[index].classList.add("show"); paragraphs[index].classList.add("show");
index = (index + 1) % paragraphs.length; // Loop back to the first paragraph index = (index + 1) % paragraphs.length; // Loop back to the first paragraph
setTimeout(showNextParagraph, 3000); // Change paragraph every 3 seconds setTimeout(showNextParagraph, 3500); // Change paragraph every 3 seconds
} }
showNextParagraph(); showNextParagraph();