All Questions
1 question
0
votes
0
answers
2
views
Why is my code not working to play sound using Javascript?
var gamePattern = [];
var randomNumber = 0;
var randomChosenColor;
function nextSequence() {
randomNumber = Math.floor(Math.random() * 4);
randomChosenColor = buttonColors[randomNumber];
...