Logic Operators error


#1

var user = prompt("Do you want to fight?").toUpperCase();
var strong = prompt("Are you strong?");.toUpperCase();
var smart = prompt("Are you smart?");.toUpperCase();

switch(user) {
case 'YES':
if (strong === 'YES' && smart === 'YES') {
console.log("Your merit and strength are of no value \
against me!");
} else {
console.log("You are a filthy unwise swine.");
}
break;
case 'MAYBE':
console.log('You indecisive mongoloid.');
break;
case 'NO':
if (strong === 'YES' || smart === 'YES') {
console.log("It is a shame that you are a coward");
} else {
console.log("You are wise little one");
}
break;
default:
console.log("That don't make sense");
};

Here is my code, every time I submit it, it says "syntax error: expected expression, got '.'


#2

Try changing your console.log from single quotes to double