JSFiddle - React, Tailwind, and code Playground

by Yuriy Bablyukh

HTML

<script src="https://code.jquery.com/jquery-3.4.1.slim.js"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.js"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.css">
<h1 class='text-center'>Reminder list</h1>


<table class="table">
  <thead>
    <tr>
      <th scope="col">Name</th>
      <th scope="col">Time</th>
      <th scope="col">Action</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Jasmine Hudson</td>
      <td>2 days before send as SMS</td>
      <td><button type="button" class="btn btn-primary justify-content-end" data-toggle="modal" data-target="#editDialog">Edit</button>
        <button type="button" class="btn btn-secondary justify-content-right" data-toggle="modal" data-target="#deleteDialog">Delete</button></td>
    </tr>
    <tr>
      <td>Justin Hughes</td>
      <td>3 days before send as SMS</td>
      <td> <button type="button" class="btn btn-primary justify-content-end" data-toggle="modal" data-target="#editDialog">Edit</button>
        <button type="button" class="btn btn-secondary justify-content-right" data-toggle="modal" data-target="#deleteDialog">Delete</button></td>
    </tr>
    <tr>
      <td>Elizabeth Hardacre</td>
      <td>4 days before send as SMS</td>
      <td> <button type="button" class="btn btn-primary justify-content-end" data-toggle="modal" data-target="#editDialog">Edit</button>
        <button type="button" class="btn btn-secondary justify-content-right" data-toggle="modal" data-target="#deleteDialog">Delete</button></td>
    </tr>
  </tbody>
</table>


<div class="modal fade" id="deleteDialog" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
  <div class="modal-dialog">
    <div...

CSS

.row {
  background: #f8f9fa;
  margin-top: 20px; 
}

.list-group {
  width: 100% !Important;
}


.col {
  border: solid 1px #6c757d;
  padding: 10px;
}