Triggering Audio Clip in HTML5 audio Element On Button Click or Key Trigger? Drum Machine Project

Hi, everyone.

For the Drum Machine Project in the Front End Libraries Projects, I want to ask: how do I trigger the audio clip in the HTML5 audio element when its parent element is clicked or the trigger key is pressed?

Right now I’m getting the audio clips. Here’s what I have now.