change speed
This commit is contained in:
parent
5e83ea9c5d
commit
4e908c0db8
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user