JSFiddle - React, Tailwind, and code Playground

by Curry

HTML

<label>Width: <input type="number" id="width" value="5"></label><br>
<label>Height: <input type="number" id="height" value="5"></label><br>
<button onclick="$('output').set('text', 'Surface size is '
                    + ($('width').value * $('height').value));">Click me!</button>
<div id="output">Not clicked yet</div>