In this lesson, we're going to be in the section, we're going to be looking at how to introduce audio
and use JavaScript in order to start audio files to play.
So this is MP three files, and we're going to also use an array here, adding an event listener is
giving us the user a series of buttons that they can click and each button will play a different sound,
a different audio sound.
So we're using the audio object, audio object in JavaScript.
So defining you audio.
And I've got a little bit of a sneak peek here on the source code that we're going to be using, as
well as updating some of the class values.
So removing and adding classes as the buttons get clicked.
Let's check this one out.
So we've got a line, a cougar and a bark.
You click it and you hear a sound click.
It hears sound click.
It hears sound.
I've got my audio turned off, but the audio is playing in the background.
So go ahead and try this one of.