JSFiddle - React, Tailwind, and code Playground
HTML
<div></div>
CSS
div {
width: 300px;
word-wrap: break-word;
font-family: 'Courier', monospace;
background-color: black;
color: green;
height: 10em;
overflow-y: hidden;
}
JavaScript
window.setInterval(function(){
$('div').html($('div').html()+Math.floor((Math.random()*10)));
$('div').scrollTop(99999999);
},10);