Lesson 7 unterminated string literal


var answer = prompt("What's your favorite kind of burger?","Type burger type here");
switch(answer) {
case 'sweet potato burger':
console.log("That's my favorite kind of burger too!");
// Add your code here!
case 'beef':
console.log("That's a strange kind of burger...);

I'm getting a error, "SyntaxError: unterminated string literal"
How can i fix that?


See where the quote is missing at the end of the string literal?


Aha! I looped over this forever trying to figure it out haha. Thanks for the help :smiley: