What is wrong? help me


#1

var getReview = function (movie) {

switch(movie){
case"Toy Story2":
return "Great story. Mean prospector";
break;
case"Finding Nemo":
return "Cool anination, and funny turles.";
break;

case"The Lion King":
    return "Great songs"
    break;
default:
console.log(" I don't know");

}
}
var movie = prompt("enter movie");


#2

Hey @ecln30! You didnt need to put this line of code:

But if you wish to pursue with it, the only think your missing is actually calling your function with the movie variable so at the end of the code put this:

getReview(movie);

Hope this helped!


#3

Also when it checks those strings it checks for punctuation too than hung me up for a bit.