JSFiddle - React, Tailwind, and code Playground

by dexygen

HTML

<body>
    <table>
        <tbody style="display: none" id="pgn_view">
            <tr><td>1.</td><td>e4</td><td>e5</td></tr>
        </tbody>
    </table>
</body>
<script>
    var view = Object.create(pgn_view, controller());
    view.display(); // comment out to suppress output in result pane

    function controller() {
        return {
            display : {value : function() {
                this.style.display = 'block';
            }}
        }
    }
</script>