edit the speed o
This commit is contained in:
parent
e27571522f
commit
37132b7489
@ -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, 4000); // Change paragraph every 4 seconds
|
setTimeout(showNextParagraph, 5000); // Change paragraph every 5 seconds
|
||||||
}
|
}
|
||||||
|
|
||||||
showNextParagraph();
|
showNextParagraph();
|
||||||
|
Loading…
Reference in New Issue
Block a user