What is wrong ? help me


#1

var user = prompt("would you like it").toUpperCase();
switch(user){
case 'CAR':
var black = prompt("do you like this color").toUpperCase();
var tico = prompt("do you like this car").toUpperCase();
if(black === "YES" $$ tico === "YES"){
console.log("I like this car");
}
else{
console.log("nice car");
}
break;
case 'CAT':
var lion = prompt("do you like this lion").toUpperCase();
var tiger = prompt("do you like tiger").toUpperCase();
if(lion === "NO" || tiger === "NO"){
console.log("I like cat");
}
else{
console.log("very good choice");
}
break;
case 'DOG' :
console.log("I like dog");
break;
default :
console.log ("do you like lion");

}


#2

i think the $$(s) are supposed to be && instead???