hi i'm new to java script and I wrote a text adventure for a school project and I keep getting these error when I try to run it
js: "adventure.js", line 4: missing ( before condition
js: if var start = "turn on lights" || "light switch"
js: ......^
js: "adventure.js", line 7: missing ( before condition
js: if var start = "open window" || "window"
js: ......^
js: "adventure.js", line 10: missing ( before condition
js: if var start = "wait"
js: ......^
js: "adventure.js", line 13: missing ( before condition
js: if var start = "opendoor"
js: ......^
js: "adventure.js", line 18: missing ( before condition
js: if secoundAct = "open left door" || "open door left" || "left door" || " enter left door"
js: .............^
js: "adventure.js", line 21: missing ( before condition
js: if secoundAct = "open right" || "enter right" || "enter right door"|| "open right door"
js: .............^
js: "adventure.js", line 24: missing ( before condition
js: if secoundAct = "go back" || "turn around"
js: .............^
js: "adventure.js", line 29: missing ( before condition
js: if thirdAct = "go back" || "turn back"
js: ...........^
js: "adventure.js", line 32: missing ( before condition
js: if thirdAct = "go down right stairs" || "go right" || "right" || "down right" || "down left" || "go left" || "go down left stairs" || "jump over balcony" || "hop over balcony"
js: ...........^
js: "adventure.js", line 37: missing ( before condition
js: if fourthAct = "monster lodging" || "go into monster lodging" || "go into giant death monnster lodging"
js: ............^
js: "adventure.js", line 40: missing ( before condition
js: if fourthAct = "go into escape pods" || "escape pods"
js: ............^
js: "adventure.js", line 1: Compilation produced 11 syntax errors.
does anyone know what im doing wrong bellow the code if it helps https://drive.google.com/file/d/0Bz_LEt8rxihuNGdUUUluelRhQ1E/edit?usp=sharing