A+ Work



Create an HTML document named 10.htm as shown in the following picture.
Create the heading of each section using <H3> tag.  Create the text boxes, check boxes, radio buttons, and option select list as shown in the picture.  The option select list has Yahoo, Alta-Vista, Lycos, AskJeeves, and Others

Create a button using Submit as the value and add a Click event to call a function named report( ).  

In the HEAD section, create a function named report( ) that using alert method to display the data entered in the original web page.
View your web pages in a browser to check the result.
Create a web page as shown in the above pictures (similar to Project 8-3). After a credit card number is entered, the credit card type is automatically identified using the following formats:

American Express – Numbers start with 34 or 37 and consist of 15 digits.
Discover – Numbers begin with 6011 or 65 and consist of 16 digits.
MasterCard – Numbers start with the numbers 51 through 55 and consist of 16 digits.
Visa – Numbers start with a 4; new cards consist of 16 digits and old cards consist of 13 digits.
That is, if you enter 378282246310005 in the Card # box, and then press Tab. Your program should automatically make the American Express option selected.
After entering the credit card number and selecting the expiration month and year, the user can click the Submit button. All the information will be saved in a cookie that expires 2 minutes after its creation.
Save the document as index2.html.
View your web pages in a browser to check the result.

 Zip all the files including index.htm, index2.htm, and then submit the zip file to the iCampus dropbox.