JSFiddle - React, Tailwind, and code Playground

HTML

<audio id="cat-growl-sound" controls>
  <source...

CSS

audio { display: none; }
#cat-growl-link.active { color: red; }

JavaScript

$('#cat-growl-link').click(function() {
  $("#cat-growl-sound")[0].play();
  $(this).addClass('active');
  $(this).removeClass('active').delay(6000);
});
$('#cat-growl-link.active').click(function() {
  $("#cat-growl-sound").stop();
  $(this).removeClass('active');
});