Help with Magic Eight Ball


I receive an error when I run the code. Any help or suggestions would be appreciated.


Take a look at case 1: eightBall = 'It is certain'); try removing the ).


Thank you! It's always something so simple that you look for and cant see.


Glad I could help! :slight_smile:


Make the Math.floor(Math.random() *7); like this: Math.floor(Math.random() *8);