change speed
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user