Hey, I'm having a bit of trouble with if-else statements. I've got them working fine for the most part, but when I try to make the condition multiple letters (for example: "dad'), it gives an undefined error saying that "dad" has not been previously defined. I've already defined the variable previously as a string, and it works fine with numbers, So I'm at a loss. Can anyone help please?
Aha! Wow, I feel like quite the idiot. Thanks a ton man.
That fixed that problem, but I have one more question:
Is there any way to make the condition for a conditional statement not case sensitive? Without making a ton of "else if's"?
I don't think the switch statement will be that beneficial in this situation with out a little more work because he is dealing with strings and not letters, or numbers.