Please help


Oops, try again. There was a problem with your syntax. SyntaxError: Unexpected token ILLEGAL.

var user = prompt("If you had one wish, what would you choose? To have much money, to travel back in time or to ask for more wishes?").toLowerCase();

switch(user) {
    case 'To have much money':
        console.log("It's still limited and will end whenever.");
        var money = prompt("How much money would you wish? 50 000$, < 50 000$ or > 50 000$?").toLowerCase();
      if(money === '50 000$' || money === '< 50 000$') {
        console.log("You'd better wish for much of them");
        } else {
          console.log("That is a cool sum!);
    case 'to travel back in time':
        console.log("You'll be able to see more interesting things!");
        var place = prompt("Which place would you like to travel? Greece, Egypt or Russia?").toLowerCase();
        if(place === 'Greece' && place === 'Egypt') {
         console.log("The best historical places!");
        } else {
            console.log("You'll find nothing interesint there");
    case 'to ask for more wishes':
        console.log("You're so sly!");
        var number = prompt("How many wishes would be enough for you? 3 , 5 or 100?").toLowerCase();
        if(number === '3' || number === '5') {
            console.log("You have so few wishes");
        } else {
            console.log("Having so many wishes is good!");
      console.log("Not a bad idea!");


looking at the colors at the forum, i see a problem in this line:

console.log("That is a cool sum!);

a missing " at the end of your string


right, thanks a lot!