JSFiddle - React, Tailwind, and code Playground

by johnmu

HTML

hey
<br />
<div id="result">result</div>
there

JavaScript

setInterval(function () {
    $('#result').html((new Date()).toUTCString()); 
}, 1000);