Stuck at exercise 4 unit 13 (I have to celebrate you baby)


#1

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

Oops, try again. Are you sure you're returning the right thing?

var getReview = function (movie) {
var movieName = prompt("Name a movie");

switch(movieName){
    
    case 'Toy Story 2':
        console.log("Great story. Mean prospector.");
        break;
    
    case 'Finding Nemo':
        console.log("Cool animation, and funny turtles.");
        break;
    
    case 'The Lion King':
        console.log("Great songs.");
        break;
        
    default:
        console.log("I don't know!");
        break;
    
    
    }
};


#2

Has already been solved (found answer in a previous post). Please remove. My apologies


#3

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