Does anyone know what I missed?


#1

I'm getting an error that tells me to check the review of Toy Story 2. I'm stuck. Does anyone know what I missed? I've looked it over repeatedly.

var movieTitle = prompt ("Enter a movie for review.");
var getReview = function (movie) {

switch(movieTitle) {
case 'Toy Story 2':
return"Great story. Mean prospector.";
break;
case 'Finding Nemo':
return"Cool animation, and funny turtles.";
break;
case 'The Lion King':
return"Great songs.";
break;
default:
return"I don't know!";
}
};
getReview(movieTitle)


#4. I have to celebrate you baby
#2

should read,

switch (movie) {

being as that is the local variable defined in the parameter.

Aside:

Leave some white space after return.

return "I don't know";