JSFiddle - React, Tailwind, and code Playground

by tea4two

JavaScript

var counter = 0;
var body = document.body;
var br = document.createElement('br');

setInterval(function(){
	counter++;
	var num = document.createTextNode(counter);
  
	body.appendChild(num,br);
  body.appendChild(br);

}, 1000);