JSFiddle - React, Tailwind, and code Playground

by Trisox

HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">  <head>   <title></title> </head>  <body>  <div style="height: 200px; border: 2px solid #000000; overflow:auto;">     <table border="0">      <tbody id="tst1" >       <tr>         <td><b>categ 1</b></td>       </tr>       <tr>         <td>8</td>         <td><input type="button" name="" value="Move1" onclick="Move(this,1);" /></td>         <td><input type="button" name="" value="Move2" onclick="Move(this,2);" /></td>         <td><input type="button" name="" value="Move3" onclick="Move(this,3);" /></td>         <td><input type="button" name="" value="Move4" onclick="Move(this,4);" /></td>         <td><input type="button" name="" value="Move5" onclick="Move(this,5);" /></td>       </tr>       <tr>         <td>7</td>         <td><input type="button" name="" value="Move1" onclick="Move(this,1);" /></td>         <td><input type="button" name="" value="Move2" onclick="Move(this,2);" /></td>         <td><input type="button" name="" value="Move3" onclick="Move(this,3);" /></td>         <td><input type="button" name="" value="Move4" onclick="Move(this,4);" /></td>         <td><input type="button" name="" value="Move5" onclick="Move(this,5);" /></td>       </tr>       <tr>         <td><b>categ2</b></td>       </tr>       <tr>         <td>6</td>         <td><input type="button" name="" value="Move1" onclick="Move(this,1);" /></td>         <td><input type="button" name="" value="Move2" onclick="Move(this,2);" /></td>         <td><input type="button" name="" value="Move3" onclick="Move(this,3);" /></td>         <td><input type="button" name="" value="Move4" onclick="Move(this,4);" /></td>         <td><input type="button" name="" value="Move5" onclick="Move(this,5);" /></td>       </tr>       <tr>         <td>5</td>         <td><input type="button" name="" value="Move1"...