Help with Magic Eight Ball


#1

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


#2

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


#3

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


#4

Glad I could help! :slight_smile:


#5

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