My Mp3 for the Simon project will only play once :/

Here is an example of the code that I have in codepen:
https://codepen.io/DavidBond/pen/BYxavq?editors=1011

You can only click each button once, and then afterwards it doesn’t play the sound… Is it because it is still playing it? Do I need to pause the sound?
Any advice is appreciated

It plays for me every time I click it. Which browser are you using?

1 Like

Try adding x.load(); on the line before x.play(); In Chrome, I experience the same issue you do…

1 Like

Wow, thanks so much! That fixed it perfectly!

I am using the chrome browser