I am new to coding but I thought you could help me here. The thing I want is the code to print on the actual webpage, but it doesn't did I something wrong, or did I just misunderstand the console.log code?
switch(user){
case 'FIGHT':
console.log("You choose to fight the man who robbed you.");
var fight = prompt("Do you choose your RIGHT HAND or LEFT HAND to hit the theif with?","Choose you answer here, RIGHT HAND or LEFT HAND?").toUpperCase();
switch(fight) {
case 'RIGHT HAND':
console.log("You choose your right hand, the strongest and most buffest arm you have(Yes you are an octopus in this game), you hit the theif and he flies at least one mile away. But you got your stuff back. Congratz!")
break;
case 'LEFT HAND':
console.log("You choose the left hand, the weakest arm you have. You punch the theif, but instead of damaging him, you break your hand and dies.");
break;
default:
console.log("You didn't type a legit answer, now the theif killed you. Try again.")
break;
};