Unexpected token error keeps coming up. Can anyone please help?


#1

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>

<In what way does your code behave incorrectly? Include ALL error messages.>

``` var user = prompt("Will you fight?").toUpperCase(); switch(user){ case: 'FIGHT' var able = prompt("Are you ready to throw it out, boy").toUpperCase() if(able==='YES' || able==='NO'){ console.log("Let's ride"); } else{ console.log("That's what I thought"); } break; case: 'DUCK' var real = prompt("This is what you want to do with your life?").toUpperCase(); if(real==='YES' || real==='NO'){ console.log("That's fine"); }else{ console.log("Okay then, boy"); } break; case: 'LAME' var common = prompt("Will you give it your best perfromance, young grasshopper?").toUpperCase(); if(common==='YES'|| common==='NO'){ console.log("This is great and we will do the best"); }else{ console.log("Well then we can't faciliate that"); } break; default: console.log("Sorry this is choice is invalid"); };
<do not remove the three backticks above>Continuing the discussion from [Keep getting Unexpected token error](https://discuss.codecademy.com/t/keep-getting-unexpected-token-error/33170):

#2

2 posts were merged into an existing topic: Keep getting Unexpected token error


#3