JSFiddle - React, Tailwind, and code Playground

by karthick Chandran

HTML

<img  onclick='ViewTransfers(12)' src="China-Flag-256.png"/>
  <button onclick="exportToForm('1.6','55','10','50','1');" style="background-color: #00FFFF">Export</button>
    <script type="text/javascript">
      function ViewTransfers(a,b,c,d,e) {
        alert(a + b);
          window.external.values(a.value, b.value, c.value, d.value, e.value);
      }
  </script>

CSS

img {
    display:inline-block;
    background-color:orange;
    width:100px;
    height:100px;
}