Unit 7 Objects 4. I have to celebrate you baby


#1

I don't understand why I keep getting this error: //Oops, try again. Check the review of Finding Nemo

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!";
    }

};

//var monkey = getReview("Finding Nemo");
//console.log(monkey);

getReview("Finding Nemo");


#2

@digitalwhiz95807,
In this excercise you will have to use the EXACT text's....


#3

And by EXACT, he's not kidding. I kept getting "Check your Lion King review."

I didn't put the period, so it was failing


#4

Yes, I left out a comma. :slightly_smiling: