What's wrong with this?


#1

var car = prompt("what car?","Type your favorite car here.");
switch(car) {
case 'lexus':
console.log("okay.");
break;
case 'is300':
console.log("mkay");
break;
case 'mercedes':
console.log("ew");
break;
default:
console.log("sure, whatever that is.");
break;


#2

Hi
did you close the switch by a closing } ? It does not appear in the code
Cheerio