I have made my first js script and I was wondering, is it possible to add multiple values to a "if var =="
var day = window.prompt("How was your day? Describe it in 1 word!");
if (day == null, "bad", "terrible") {
document.write("How come?");
} else {
document.write("sounds great");
}
I expect it to give a different response ONLY if the var day is bad or terrible. Not for any other responses!
But the output is only