how to add audio using javascript code example Example: play sound javascript var audio = new Audio("folder_name/audio_file.mp3"); audio.play();