JSFiddle - React, Tailwind, and code Playground

by digitalicarus

HTML

<!DOCTYPE html>
<html>
    <head>
    </head>
    <body>
        <h1>JSAPI!</h1>
        <label for="appId">appId: <input id="appId" type="text" /></label>
        <div id="code">
        
        </div>
        <pre>
            &lt;script src="http://example.com/api.js?appId=<span id="appIdCode">asdf</span>">&lt;/script>
            &lt;script>
                namespace.func();           
            &lt;/script>            
        </pre>
    </body>
</html>