Instructions: This assignment has two parts: 1. Write a JavaScript program th

timer Asked: Aug 4th, 2014

Question Description


This assignment has two parts:

  1. Write a JavaScript program that performs the following actions (in sequence, step-by-step):

a)  Welcomes the visitor

b)  Prompts the visitor for his/her name

c)  Displays the users name on the screen

d)  Asks the visitor to enter two numbers

e)  Adds these two visitor entered numbers and add them together and returns the result to the visitor

f)  Thanks the user for using the program

You will be required to concatenate two strings.

  1. Take the form you created in assignment 3 and put a copy of it into a new file. You can also create an entirely new form if you would like. Use JavaScript to perform client-side validation on at least three fields with the following specifications:

a)  Validate a field for minimum length

b)  Validate another field for both minimum length and numeric or alpha characters only

c)  Validate an email address that must be in a valid email format

The form should not be permitted to submit unless all fields pass validation.

Parts 1 and 2 must be completed in separate files.

To ensure a good grade, add additional work to style the page and form elements. Just be sure to provide original work for all aspects of the assignment.

This question has not been answered.

Create a free account to get help with this and any other question!

Similar Questions
Related Tags

Brown University

1271 Tutors

California Institute of Technology

2131 Tutors

Carnegie Mellon University

982 Tutors

Columbia University

1256 Tutors

Dartmouth University

2113 Tutors

Emory University

2279 Tutors

Harvard University

599 Tutors

Massachusetts Institute of Technology

2319 Tutors

New York University

1645 Tutors

Notre Dam University

1911 Tutors

Oklahoma University

2122 Tutors

Pennsylvania State University

932 Tutors

Princeton University

1211 Tutors

Stanford University

983 Tutors

University of California

1282 Tutors

Oxford University

123 Tutors

Yale University

2325 Tutors