<div class="button_flex">
  <button class="btn btn-warning buttonClick">Кнопка 1</button>
    <button class="btn btn-warning buttonClick">Кнопка 2</button>
    <button class="btn btn-warning buttonClick">Кнопка 3</button>
</div>
.button_flex{
  display: flex;
  justify-content: space-around;
  margin-top: 50px;
}
$('.buttonClick').click(function (e) { 
    e.preventDefault();
    alert($(this).text())
  
  $('.buttonClick').attr('disabled', true);
  
  setTimeout(() => {
    $('.buttonClick').attr('disabled', false);
}, 5000);
  });

External CSS

  1. https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/css/bootstrap.min.css

External JavaScript

  1. https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js