I have to celebrate you baby- please help


#1

var getReview = function (movie) {

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

};

Hey I have this code and it is rejected.
Anyone can help me what am I doing wrong here?
I also tried this:

var getReview = function (movie) {

switch(movie) {
    case "Toy Story 2":
       console.log("Great Story. Mean prospector.") 
     case "Finding Nemo":
        console.log("Cool animation, and funny turtles.");
    case "The Lion King":
       console.log("Great Songs");
    default: 
        console.log("I don't know!");
}
   return (movie)

};

but it return twice the content (review) with an error...
Please anyone help.
Please anyone explain.
Thank you in Advance.
Mathew from Poland


#2

@jankowski,

The course tester, tests if you return and if it finds:
— "Toy Story 2" - "Great story. Mean prospector."
— "Finding Nemo" - "Cool animation, and funny turtles."
— "The Lion King" - "Great songs."

in mixed lower-,upper-case letters EXACTLY as specified in the Instructions....!!!


#3

Thank you for hint.

You are a gentleman.

I fixed my syntax errors but the code is still not accepted.

:(sweat:
var getReview = function (movie) {

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

};


#4

ok I got it

"Great songs" missed DOT at the end of the sentence...

Crazy ....