I can't see the problem with my code, it's not working ;( I'm such an amateur!


var answer = prompt("Hello How are you?");

switch(answer) {
case 'Hi':
console.log("hello how are you!");
case 'Hello';
console.log("I know you!");
console.log("I haven't met you before");



I believe you're having problems with the "default" statement yes?

So try adding a "break" at the end of your default statement and you should be good to go!


You have semicolon ";" instead ":" in case 'Hello'