JSFiddle - React, Tailwind, and code Playground

by yasumodev

HTML

<textarea id="log"></textarea>

JavaScript

//alert(localStorage.getItem("abc"));
var n = Math.floor(Math.random() * 6) + 1;
setTimeout(function() {
	alert(n);
}, n * 1000);
/*
for(var i=0; i<100; i++) {
  var n = Math.floor(Math.random() * 6 + 1) + 0;
  n += "/";
  document.getElementById("log").value += n;
}
*/