All of this code:
Code:
FUNCTION TESTER() {
ALERT('WORKS');
VAR GOOD=0;
VAR BAD=0;
if (BOOKS.FONE="A") {
GOOD++;
}
ELSE {
BAD++;
};
ALERT("YOU HAVE INCORRECT");
}
is completely bogus. JavaScript is CASE SENSITIVE and all keywords in JavaScript must be in lower case.
Examples: function, alert, var.
********
Is this homework for some class?