Originally Posted by Old Pedant
Well, to start with, you would not use prompt()
Both are considered obsolete and should not be used with modern browsers.
If your instructor is telling you to use them, then your instructor is at least 6 or 7 years behind the times.
In any case, this appears to be homework, and we don't *DO* homework. See RULE 1.5 in http://www.codingforums.com/rules.htm
*IF* you make some reasonable attempt at doing your own homework and just need a little help here and there, *THEN* you will almost surely get it. The more work you do, the more likely you are to get *GOOD* help.
This is not homework, I am not in sort of programming class considering im not yet out of high school.
This is something I want to do to help rank anime fighters (I intend to expand so that things like location play a role), and all the knowledge I ahve comes from the Codeacademy tutorial.