4. I have to celebrate you baby - Syntax error


#1


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

Hey! Whenever I hit submit on this lesson I receive the message ' Syntax Error: Expected ':' '. I can't seem to find where I should be inserting the colon. Could anybody help out here?


var getReview = function (movie) {
    var reviews = {
        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'm sorry, but we didn't quite recognize what you typed. Write the movie name again using capital letters.";
};

getReview("Finding Nemo");


#2

you are getting unexpected error : because you don'y have your switch so case is not working

Hint

Syntax :

switch(movie) {
    case "Toy Story 2":
        // return review here

    case "Finding Nemo":
        // return review here

    default:
        // code to be executed if a movie name is not found
}