4 whats wrong with my code?


#1



Replace this line with your code. 

var movie=prompt("enter the movie name");
var getReview = function (movie) {



switch(movie){
    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!";
      break;
}
};
getReview(movie);

it says"Oops, try again. Check the review of Toy Story 2".


#2

You have to use the exact spelling that is given in the instructions.

You don't have spaces after full stops and commas, and forgot full stops at the end of some sentences.


#3

thank you!!it worked!