Lesson 4, I type my movie in and the review comes out but I'm still not getting a pass. What is suppose to come out if not the review


#1


var name = prompt("Review");
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(name);



Replace this line with your code.


#2

HI to all your return statement you should make sure that the string look like the one they gave you in the instruction


#3

Thanks, it was literally a space in one of my return statements. I should've been able to find that without help but I appreciate the watchful eye.


#4

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