JSFiddle - React, Tailwind, and code Playground

by MGames

HTML

<div class="form-wrap">
      <table id="credit-card-table">
        <tbody>

          <tr id="credit_card_number_row">
            <td class="field has-float-label">

              <input id="credit_card_n" name="credit_card[cnb]" size="30" value="" placeholder="credit card number" autocorrect="off" autocapitalize="off" maxlength="19" class="" type="tel">
            <span class="msg"> </span></td>
          </tr>
          <tr id="exp_date_row">
            <td>
              <table>
                <tbody>
                  <tr>