Web design online - 119Chapter 10Strings, Math, and DatesExercises1.Create a Web page
119Chapter 10Strings, Math, and DatesExercises1.Create a Web page that has one form field for entry of the user s e-mail address and aSubmit button. Include a pre-submission validation routine that verifies that the textfield has the @ symbol found in all e-mail addresses before you allow submission of theform. 2.Given the string Internet Explorer , fill in the blanks of the string.substring() method parameters here that yield the results shown to the right of each method call: var myString = Internet Explorer ; myString.substring(___,___) // result = Int myString.substring(___,___) // result = plorer myString.substring(___,___) // result = net Exp 3.Fill in the rest of the function in the listing that follows so that it looks through everycharacter of the entry field and counts how many times the letter e appears in thefield. (Hint: All that is missing is a forrepeat loop.)
4.Create a page that has two fields and one button. The button should trigger a functionthat generates two random numbers between 1 and 6, placing each number in one ofthe fields. (Think of using this page as a substitute for rolling a pair of dice in a boardgame.) 5.Create a page that displays the number of days between today and next Christmas. …
Note: If you are looking for high quality webhost to host and run your jsp application check Vision jsp web hosting services