Trigger audio response

I was kindly sent this file from the Forum and have adapted it to suit my project. Is there a way that as well as displaying “Yay…” it also plays an audio file? I am thinking that visually impaired users would benefit from a sound that signified correct positioning.

Drag’n Drop - D-n-d_ReSet_JHSv1.hype (14.3 KB)

If you have a file audio.mp3 in your resources library, you would add this function after line 47:

var audio = new Audio('${resourcesFolderName}/audio.mp3');;

Thank you Daniel, I will give that a go

Worked a treat, thank you again