JSFiddle - React, Tailwind, and code Playground

HTML

<body>
    <table border=1>
        <script>
            try
            {
                for(i=1;i<=1;i++)
                {
                    j=0;
                    document.write("<tr><td><input type=text id=t"+i+" onblur=\"for(j=0;j<getElementsByName('td"+i+"').length;j++)document.getElementsByName('td"+i+"')[j].innerHTML=this.value\">\
           <td name=td"+i+">")
                <td name=td"+i+">");
                }
            }
            catch(err)
            {
                alert(err);
            }
        </script>
    </table>
</body>