var user = prompt("You are drifting through a familiar dream when you hear your name being called by strange voices through a floating door. Do you GO IN, RUN AWAY or CALL OUT to them?").toUpperCase();
case 'go in':
console.log("Woah... it's bright in here. Are those.. stars? They're blue and they're talking to you.");
case 'run away':
console.log("Too scared yet, my friend? You may be able to run but the voices do not stop. It's time to plan your next move.");
case 'call out':
console.log("The voices go silent. They hear you but you are not close enough for them to express what they must tell to you.");
console.log("Woah now, you've disappeared. Where did you go?");
This is my code so far. I have not added an if/else statement inside any case because I am having trouble figuring out how this actually works? Am I creating new variables? The instructions say "Add some if/else statements to your cases that check to see whether one condition and another condition are true, as well as whether one condition or another condition are true. Use && and || at least one time each."
How would I check if two conditions are or aren't true if the user can only respond with one answer? I think I am missing the logic in this lesson. Any help is appreciated.