Been in the process of finishing my baseball scoreboard and wanted to implement sound files to correspond with each buttons' press (cheers, awes, boos, whatever), but have been unable to successfully access sound files stored on computer or stored in the project itself. The code literally looks like this:
var cheer = new Audio(whole file path);
cheer.play();
...and nothing's working. Any ideas?