JSFiddle - React, Tailwind, and code Playground

by Joshua Dwire

HTML

<textarea id="code" style="width:250px;height:100px">alert('It Works')</textarea>
<br/>
<button onclick="(function(){eval.apply(this,[document.getElementById('code').value])})()">Click Me</button>