Ask your instructor if the assignment is to be written in javascript or in java.
Type: Posts; User: Norm
Ask your instructor if the assignment is to be written in javascript or in java.
That code looks like javascript, not java. They are different.
Try asking your questions on a javascript forum.
Do you have any specific java programming questions?
Be sure to wrap any posted code in code tags.