JSFiddle - React, Tailwind, and code Playground

HTML

<body>
  <input type="button" value="PLAY"  onclick="play()">
</body>

JavaScript

function play(){
  var audio = new Audio('https://www.freesound.org/people/Robinhood76/sounds/336217/download/336217__robinhood76__06348-distant-ghost-howl.wav');
  
  audio.play();
}