<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<style>
div{
font-size: 70px;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
width: 100px;
height: 100px;
margin: auto;
}
</style>
</head>
<body>
<input type="text"><button>start</button><div></div>
<script>
document.querySelector('button').onclick=e=>{
var val = document.querySelector('input').value, i = 0
setTimeout(function run() {
document.querySelector('div').textContent = val[i]
if(i++ < val.length)setTimeout(run, 1000);
}, 1000);
}
</script>
</body>
</html>