I need help on an if / else if script!
So I have been attempting to create a javascript recently that will respond to specific responses, and for some reason this script will not function: var name = prompt("What is your name?"); document.write("Hello " + name + ", are you feeling good or bad today?"); var response = prompt("How are you?"); if (response == "good") { document.write("You're doing " + response + "? Thats great to know! Goodbye!"); } if else (response == "bad") { var scale = prompt("Aw, thats too bad! On a scale of 1 through 10, how bad do you think youre feeling?"); if (scale == "1") { document.write("Only 1? That shouldnt be that bad!") } else if (scale == "2") { document.write("Hey, 2 isnt the worst! Cheer up!"); } else if (scale == "3") { document.write("Hey, at least it isnt 4!"); } else if (scale == "4") { document.write("4? Cheer up!"); } else if (scale == "5") { document.write("5? Meh."); } else if (scale == "6") { document.write("Well, at least it isnt 7!"); } else if (scale == "7") { document.write("Hey! 7 is my favorite number!"); } else if (scale == "8") { document.write("8 is less than 9, right? Cheer up!"); } else if (scale == "9") { document.write("Hey, at least 9 isnt a double digit!"); } else if (scale == "10") { document.write("Well arent you negative! Go find something to cheer yourself up!"); } else { document.write("Hey, I said 1-10! My processor isnt intelligent enough for those types of numbers!"); } Any help is appreciated!