What is the problem here please help!


#1

here is my code and its working perfectly.. why cant i submit it?
var movie = prompt("Enter the movie: ");
var getReview = function (movie) {

var review;

switch(movie) {
    case "Toy Story 2":
        review=("Great story. Mean prospector.");
        console.log(review);
        break;
    case "Finding Nemo":
        review=("Cool animation and funny turtles");
        console.log(review);
        break;
    case "The Lion King":
        review=("Great songs!");
        console.log(review);
        break;
    default:
        review=("I dont know man!");
        console.log(review);
        break;
}

};


#2

So it doesn't work, or the submit button isn't working?


#3

Yes it doesnt work :confused:
I could use some help :smile: or ideas or maybe my mistakes?
thanks


#4

Just refresh your page my man. It happens sometimes, maybe have to restart your browser, but it's able to be fixed.