I just got started on this.... GAH!


#1

var user = prompt ("what's your name?");
var character = prompt ("what would you like to be?","Mage,Rogue,Warrior,Archer").toLowerCase();

alert("your born in a town called esterborn you never had any experience doing anything. You decide to leave home to hone your skills and be a master "+ character);
var road = prompt("you come to a split in the path outside your home, there are three roads. which path do you choose?", "Left,Right,Center.").toLowerCase();
//Path
ar character = prompt ("what would you like to be?","Mage,Rogue,Warrior,Archer").toLowerCase();

var story = alert("your born in a town called esterborn you never had any experience doing anything. You decide to leave home to hone your skills and be a master "+ character);
var road = prompt("you come to a split in the path outside your home, there are three roads. which path do you choose?", "Left,Right,Center.").toLowerCase();
//Path
switch(road) {
case "left":
console.log("you begin walking down the left path");
break;
case "right":
console.log("you begin walking down the right path");
break;
case "center":
console.log("you walk straight disregarding the paths on either side");
break;
default:
console.log("you cant seem to decide the center looks to head to the mountains. that without proper gear would be treacherous");
}


#2

@alexmisanchez you're missing the "v" at the beginning of this line:

ar character = prompt ("what would you like to be?","Mage,Rogue,Warrior,Archer").toLowerCase();