To Celebrate your baby, help


#1

var answer = prompt("Choose your movie, Toy Story 2, Finding Nemo, The Lion King or other");
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";
};

};

getReview(answer);

I have an error says, check the review of "Toy Story 2"

could someone help to elaborate with the correct code ,

thank you


#2

add .

after every statement
like:
Great story. Mean prospector.
Cool animation, and funny turtles.
Great songs.


#3

honestly, (and this might be because i'm taking the french version... [go Canada!]) but i didn't need "var answer" or the key-word "break". but to actually help you, mine said for the review: "Bon film, j'adore les cowboys!" which literally translates to: "Great story, I love cowboys!" see what the instructions say for the toy story 2 review. There's a chance you just read it wrong. and I mean down to the letter.