My email vaildation is working correctly now.
But, I would like to alter the message color from black to red by styling it somehow.
I have attempted such things as:
{
message = "Please, enter a valid email";
message.style.color == 'red';
writeMessage(message);
return false;
}
The insertion being:
message.style.color == 'red';
The result is the entire script breaks.
Any ideas? Should I be using CSS for this?
Thank you,
Matthew