JSFiddle - React, Tailwind, and code Playground

by Jacob Gray

HTML

<div class="block-title">
  <strong><span>Refine By</span></strong>
</div>

JavaScript

$('.block-title span').click(function () {
  $(this).append(" BATMAN")
});