change speed

This commit is contained in:
sasha-astiadi 2025-02-25 03:19:21 +08:00
parent 5e83ea9c5d
commit 4e908c0db8

View File

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