Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
michojekunle authored Jun 6, 2023
1 parent e853aa1 commit e26bafd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ slideShow.addEventListener('click', () => {
// Add Shadow && Animation to the button
diceButton.classList.toggle('shadow-3xl');
diceButton.classList.toggle('shadow-neonGreen');
diceButton.classlist.toggle('animate-pulse');
diceButton.classList.toggle('animate-pulse');

//get and set random audio
audio.src = audioSrc[Math.floor(Math.random() * audioSrc.length)];//This generates a random src file and assigns it to the src attribute of the audio
Expand Down

0 comments on commit e26bafd

Please sign in to comment.