Here is my code that's not working.
var question2 = prompt("question inserted later?");
if(question2 == "Yes" || "yes") {
alert("answer1.");
}
if(question2 == "No" || "no") {
alert("answer2.");
}
else(question2 != "Yes" || "yes" || "No" || "no") {
alert("answer3.");
}
My Javascript Console is telling me there issue is in the line starting with else and that there is an "unexpected token", referring to the brackets. I don't know what the issue is and I'm not sure if I'm using else() correctly.