This commit is contained in:
2023-05-26 11:04:36 +02:00
parent eafce9c2ac
commit 473ebbcc93
5 changed files with 80 additions and 0 deletions

11
text_horror/app.js Normal file
View File

@@ -0,0 +1,11 @@
var i = 0;
var txt = 'Hello welcome to TextHorror!';
var speed = 50;
function typeWriter() {
if (i < txt.length) {
document.getElementById("bubble").innerHTML += txt.charAt(i);
i++;
setTimeout(typeWriter, speed);
}
}