[Solved]Problem in I have to celebrate your baby


#1


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

Oops, try again. Check the review of Toy Story 2

var name = prompt("enter");
var getReview = function (movie) {
  switch(movie){
      case "Toy Story2":
          return "Great story. Mean prospector.";
          break;
        
      case "Finding Nemo":
          return "Cool animation, and funny turtles.";
          break;
          
      case "Lion King":
          return "Great songs.";
          break;
          
      default:
          return "I don't know!";
      }
};
 
 getReview(name);


#2

Hey man. Your code is correct. When you return the script it should be exactly as stated in the instructions. for "Toy Story2" it should be "Toy Story 2". Probably you have a typo and check this.


#3

You also have to change "Lion King" to be "The Lion King"... I was stuck at the same point...


#4

i used prompt().toUpperCase();

I wrote my cases in uppercases but it did not work. Why would uppercased first letters work while all uppercased letters doesn't work?