JSFiddle - React, Tailwind, and code Playground

HTML

<div class="block">Some text</div>
 <div class="block">Some text<br>Some text<br>Some text<br>Some textSome text<br>Some text<br>Some text<br>Some text<br>Some text<br>Some text</div>
 <div class="block">Some text<br>Some text<br>Some text<br>Some text</div>

CSS

.block{
      width: 100px;
      float: left;
      margin: 5px;
      border: 1px solid #0000ff;
    }

JavaScript

$(function() {
  var maxHeight = 0;
  $('.block').each(function(){
    _thisHeight = $(this).outerHeight();
    if(_thisHeight > maxHeight){
      maxHeight = _thisHeight;
    }
  }).height(maxHeight);
});