hey, im new hre and ive just started java at uni and im a little stuck. can someone hlp me figure out how to do this please?
Using JavaScript, write an html document that prompts the user for his/her age.
If the user is under 18, bring up an alert box saying the user is too young.
If the user is between 18 and 70, bring up an alert box saying the user is old enough to enter the site.
If the user is over 70, bring up an alert box saying the user is too old to proceed.
thank you
lisa
Using JavaScript, write an html document that prompts the user for his/her age.
If the user is under 18, bring up an alert box saying the user is too young.
If the user is between 18 and 70, bring up an alert box saying the user is old enough to enter the site.
If the user is over 70, bring up an alert box saying the user is too old to proceed.
thank you
lisa