We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2916f9 commit 90f199cCopy full SHA for 90f199c
index.html
@@ -32,14 +32,14 @@
32
let i = 0;
33
34
function getRandomDelay(min, max) {
35
- return Math.floor((Math.random() ** 3)* (max - min + 1)) + min;
+ return Math.floor((Math.random() ** 10)* (max - min + 1)) + min;
36
}
37
38
function type() {
39
if (i < text.length) {
40
typewriter.textContent += text.charAt(i);
41
i++;
42
- setTimeout(type, getRandomDelay(50,3000)); // typing speed in ms
+ setTimeout(type, getRandomDelay(30,2000)); // typing speed in ms
43
} else {
44
// Stop blinking cursor
45
typewriter.style.borderRight = 'none';
0 commit comments