Okay so I changed the
switch (eightBall) to
switch (randomNumber) but when i did this it gave me a error.
Also the purpose of
'Jane' ? console.log('Hello, Jane!') : console.log('Hello!');
Was in step 2 it says : create a ternary expression that decides what to do if the user enters a name or not. If the user enters a name — like
'Jane' — use string interpolation to log
Hello, Jane! to the console. Otherwise, simply log
Let = ' ' Was suppose to be
Let eightBall = ' '
var eightBall = ' ' console.log(eightBall);
Because without it it was returning with error.