Skip to content

Commit 90f199c

Browse files
Update index.html
1 parent b2916f9 commit 90f199c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@
3232
let i = 0;
3333

3434
function getRandomDelay(min, max) {
35-
return Math.floor((Math.random() ** 3)* (max - min + 1)) + min;
35+
return Math.floor((Math.random() ** 10)* (max - min + 1)) + min;
3636
}
3737

3838
function type() {
3939
if (i < text.length) {
4040
typewriter.textContent += text.charAt(i);
4141
i++;
42-
setTimeout(type, getRandomDelay(50,3000)); // typing speed in ms
42+
setTimeout(type, getRandomDelay(30,2000)); // typing speed in ms
4343
} else {
4444
// Stop blinking cursor
4545
typewriter.style.borderRight = 'none';

0 commit comments

Comments
 (0)