Something must be wrong with the interpreter


It keeps telling me "Oops try again. Check the Review for Toy Story 2." I have written in all the options and am keeping the right answers

var movie = prompt("What movie would you like the review for?");

var getReview = function(movie) {
    switch(movie) {
        case "Toy Story 2":
            return"Great story. Mean prospector";
        case "Finding Nemo":
            return"Cool animation, and funny turtles.";
        case "The Lion King":
            return"Great songs.";
            return"I don't know!";


You forgot the period for the review for Toy Story 2.
You should also put the name of a movie when you call the function. Not just (movie)


And a semi colon after the function call.


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