Hi all, this is my problem, i entered my code but when i hit Save & Submit, it says;"Oops, try again. Make sure to use a break statement with each case! "
For me it’s ok, i’ve already gone through ALL code, however i don’t understand where’s the mistake???
//code your own adventure
/*it asks our user what he or she wants to do.
store the result of using prompt in a variable so we can use the user’s response to influence.
converted the user’s answer to ALL CAPS before saving it in the answer variable. This helps eliminate problems that might crop up if your program tests for ‘YES’ but your user typed in ‘yes’ or 'Yes’at the program does.
var user = prompt(“Name?”).toUpperCase();//Question to the user
//switch statement that will test for several different cases (that is, different possible user inputs), Create as many as you like! (Do at least three.)
console.log(“I’ve made a huge mistake.”);
console.log(“I don’t know you!”);