I have to celebrate you baby-- Any help to resolve this issue will be much appreciated


#1


Exercise 4. I have to celebrate you baby


keep getting this error( Oops, try again. Check the review of The Lion King )


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 dont know!"; 

} 

};
getReview("The Lion King");


#2

Hi you should check if the string you put in the return statement

return "Great songs";

is like the one they give you in the instruction


#3

The tiny little full-stop . i missed nearly nearly ruined the day :slight_smile: Many thanks mate!


#4

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