0

What am i doing wrong that the audio does not play when clicking the button? I want it to change an image and beep.

https://code.sololearn.com/W83Bteaqf9sZ/?ref=app

14th Jul 2022, 12:53 PM
Ritchie Veugelers
Ritchie Veugelers - avatar
3 ответов
+ 2
SoloLearn can't read any Files of your Device. For Pictures, Audios and so on pls use Web links URLs.
14th Jul 2022, 12:58 PM
Felix Alcor
Felix Alcor - avatar
+ 1
You've written your JavaScript incorrectly, look here for info: https://www.delftstack.com/howto/javascript/play-audio-javascript/
14th Jul 2022, 2:09 PM
Ausgrindtube
Ausgrindtube - avatar
0
I meant the code itself, doesn't seem to play anything on pc
14th Jul 2022, 12:59 PM
Ritchie Veugelers
Ritchie Veugelers - avatar