4. I have to celebrate you baby



I managed to return it back but I still got an error.
"Oops, try again. Check the review of Toy Story 2"
I don't know what's wrong with the review of Toy Story 2. I've checked the spelling, etc.

var movie = prompt("Which movie is the best? Toy Story 2, Finding Nemo or The Lion King?").toLowerCase();
var getReview = function (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!";


Use the exact stings provided in the intstructions. Why be allergic to capitalization of proper names?



How would you feel if your teacher addressed you as neil? This is how impacting lowercase can be in proper names. I don't respond to 'roy'. I respond to, 'Roy'.


Thank you!
I copy pasted the ones from the instructions.It works perfectly fine now.

My idea was to convert the "data" from the 'prompt menu' to lower case because it would be easier as the answer input would be used in the switch function in lower case. Anyway, thanks for the reply!


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