I cant find the syntax error


#1

Here´s my code. Could anyone help me out? I don´t know what is wrong.
var user = prompt("You´re hiking through the forrest, when suddenly, \
a cat-like creature gets in your way. What do you do? WALK away, \
PET it, or KICK it?").toUpperCase();

switch(user) {
case "WALK":
console.log("The cat is nimble. He won´t let you walk away.");
break;
case "PET":
console.log("The cat didn´t like it and bit you.");
break;
case "KICK":
console.log("The cat knows your intentions and counter-attacks.");
break;
default:
console.log("That´s not an option.");


#2

You're missing a curly bracket at the end of your switch.