Menu
Hi what im trying to do is create a if statement that compares words without it being case sensative. how i have it now is –
the answer is milk
the user types in Milk
the output is incorrect.
the answer is milk
the user types in milk
the output is correct
how i would like to have it –
the answer is milk
the user types in milk or Milk
the output is correct
code:
[CODE]if(getValue == getAnswer)
{
alert(“CORRECT”);
}
any feedback would be greatly appreciated! thank you!