Add sound while the bird is jumping

Let’s add sounds to the bird while it is jumping

Add the below command in the file [File: create-game.js] jumpSound.play();

Working Together

In the repl.it window below, we started the code with the line jumpSound.play();.

alt text

In your console you should see a Jsappy bird jumping with sound after you press run: