Question: 16 The JavaScript code which runs the audio welcome.mp3 which is defined in the body as: and displays the message thank you for listening when

 16 The JavaScript code which runs the audio welcome.mp3 which is

16 The JavaScript code which runs the audio welcome.mp3 which is defined in the body as: and displays the message "thank you for listening" when the audio is finished playing is: 5 (2 Points) sound.play.0; window.alert("thank you for listening"); function finish({ alert("thank you for listening"); audio.playO:) window.addEventListener("ended", finish, false) function start0{ var audio = document.getElementById("audio"); audio.addEventListener("click", finish, false); } function finish({ alert("thank you for listening");} window.addEventListener("load", start false): function start0{ var audio = document.getElementByld("audio"); audio.addEventListener("ended", finish, false):) function finish({ alert("thank you for listening")) window.addEventListener("load", start, false)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!