JSFiddle - React, Tailwind, and code Playground
by satantx
JavaScript
var firstTime = localStorage.getItem('firstTime');
var now = new Date();
var dm = firstTime - now;
$(document).ready(function () {
if (dm > 86400000 ) {
localStorage.setItem("firstTime", now);
console.log('1111');
}
});