change speed
This commit is contained in:
parent
4e908c0db8
commit
1ed9223289
@ -45,7 +45,7 @@
|
||||
paragraphs[index].classList.add("show");
|
||||
|
||||
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();
|
||||
|
Loading…
Reference in New Issue
Block a user