JSFiddle - React, Tailwind, and code Playground

by Sascha

HTML

<form method="post" enctype="multipart/form-data">
  <table>
    <tr>
      <th>File 1:</th>
      <th>
        <input type="file" class="inp-file" name="file1" />
      </th>
    </tr>
    <tr>
      <td>Location:</td>
      <td>
        <input type="text" class="inp-location" name="location1" />
      </td>
    </tr>
    <tr>
      <td>Title:</td>
      <td>
        <input type="text" class="inp-title" name="title1" />
      </td>
    </tr>
    <tr>
      <th>File 2:</th>
      <th>
        <input type="file" class="inp-file" name="file1" />
      </th>
    </tr>
    <tr>
      <td>Location:</td>
      <td>
        <input type="text" class="inp-location" name="location1" />
      </td>
    </tr>
    <tr>
      <td>Title:</td>
      <td>
        <input type="text" class="inp-title" name="title1" />
      </td>
    </tr>
  </table>
  <input type="submit" value="Send images"/>
</form>