I need help with "lesson 8 all on your own" please


#1

this is my code, i cant get it to work it keeps saying "missing ) after argument list" PLEASE HELP!!

var answer = prompt("candy?");
switch(answer) {
case 'snickers':
console.log("snickers is the devil, but it feels sooooo good!");
break;
case 'milkyway':
console.log("milkyway is for losers");
break;
case '100grand':
console.log("100 grand is aight");
break;
default:
console.log("screw" + " " + answer + " " ",that stuff is wack.");
break;
}


#2

@dzknjoutlook_com,

You will have to change the console.log() of your default: case
into

console.log("screw" + " " + answer +  ",that stuff is wack.");

AND
your default: case does not need a break...