4.. I have to celebrate you baby


#1

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

Hi, this is my code for this lesson and when I run the code, it gives me the error
“Oops, try again. Check the review of Toy Story 2.” when I type in toy story 2.
In the command shell however, it returns “Great story. Mean prospector.”

In my code, the review looks the same as in the instructions. what should I do?

<Below this line, add a link to the EXACT exercise that you are stuck at.>
https://www.codecademy.com/courses/spencer-sandbox/0/4?curriculum_id=506324b3a7dffd00020bf661#

<In what way does your code behave incorrectly? Include ALL error messages.>

```

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!”;
break;
}
}
getReview(prompt(“What is your favorite movie?”).toLowerCase());

<do not remove the three backticks above>

#2

Hi you don’t want to .toLowercase the prompt because isinde your case there are name with both uppercase and lowercase

getReview(prompt("What is your favorite movie?").toLowerCase());

and look well the instruction (the name of the movies)

"Toy Story 2" - "Great story. Mean prospector."
"Finding Nemo" - "Cool animation, and funny turtles."
"The Lion King" - "Great songs."