Write an HTML page that contains a text field for a credit card number and a button. When the button is clicked check that the text field has only numeric characters in it and check that the number of characters is 16. If not, use an alert dialog to inform the user.

What will be an ideal response?

```


A Simple Web Page


A Simple Heading


This is a very simple web page. It asks you for your credit
card number and when you click the button
it will check if the number is okay (16 digits only).


Enter your credit card number:



onClick="checkCreditCardNumber()">



```

Computer Science & Information Technology

You might also like to view...

Office 365, OneDrive, and DropBox are all examples of what type of computing?

A. Public cloud B. Private cloud C. Domain D. Open cloud

Computer Science & Information Technology

Method addSeparator adds a separator ___________ to a menu.

a) bar b) mnemonic c) submenu d) menu item

Computer Science & Information Technology