5/6 the program ran good but didn't give me the right output


#1

If I entered Kingdom hearts the output goes to the default. However the program ran with no errors.
can someone explain this?
var user = prompt("What is your choice?").toUpperCase();

switch(user) {

case 'Kingdom Hearts':
    var character = prompt("name of character");
    if( character == "Sora" || character =="Riku"){
      console.log("Best main characters!");   

    }
    else{
    console.log("Best video game!");
    }
    break;
case 'Super Mario Bros.':
      var character = prompt("name of character").toUpperCase();
    if( character == "Mario" || character =="Luigi"){
    console.log("All time classic!");
    }
    else{
            console.log("Why didn't you chose Mario or Luigi?");
        }
    break;
case 'Mega man':

      var character = prompt("name of character").toUpperCase();
    if( character == "Megaman" && character.length < 10){
    console.log("Blue Bomber!");
    }
    else{
        console.log("Wrong character!");
        }
    break;
default:
    console.log("Well had to at least like either one.");


}

#2

Small hint from me :smile:

Result of "Kingdom hearts".toUpperCase(); is "KINGDOM HEARTS".