79466384

Date: 2025-02-25 11:26:03
Score: 2.5
Natty:
Report link

If i understand your question properly, Is this what you are looking for?

<!DOCTYPE html>
<html>
<body  onload="typeWriter()">
Auto Text typer demo with css and js
<p id="demo"></p>
<script>
var i = 0;
var txt = 'Lorem ipsum dummy text blabla.';
var speed = 50;

function typeWriter() {
  if (i < txt.length) {
    document.getElementById("demo").innerHTML += txt.charAt(i);
    i++;
    setTimeout(typeWriter, speed);
  }
}
</script>

</body>
</html>

Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Chandru