4,I have to celebrate you baby. what's wrong with my code?


#1


https://www.codecademy.com/en/courses/spencer-sandbox/0/4?curriculum_id=506324b3a7dffd00020bf661

error messages:"Oops, try again. Check the review of Toy Story 2"


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

}
};


#2

Hi This Line

return "Great story.Mean prospector.";

The string should look like The one They gave you in The instruction


#3

thanks ,but when I change line
return "Great story. Mean prospector.";

it came out again:
"Oops, try again. Check the review of Finding Nemo"

I really don't know where it is different from the one they provided.


#4

Thanks a lot.
I found that, it's in another line. A stupid error.


#5

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.