PRG 280 Week 4 Individual: Validation Example

0 items
PRG 280 Week 4 Individual: Validation Example
PRG 280 Week 4 Individual: Validation Example
$8.00
  • Description

PRG 280 Week 4 Individual: Validation Example

For this assignment, you will code and customize a basic JavaScript® validation function.

Using Notepad++, copy the code presented in Listing 26.2, “A Form That Displays Data in a Pop-Up Window,” in the subsection “Displaying Data From a Form” in the section “Accessing Form Elements With JavaScript” in Ch. 26, “Working with Web-Based Forms of Sams Teach Yourself HTML, CSS and JavaScript All In One. Save the file using the name Week4ValidationExample.html. Test your code and debug as necessary.

Change the name of the display() function to myDisplay() where my is your first name. For example, if your first name were Sam, your display function would be SamDisplay(). Test your code and debug as necessary.

Change the width and height of the pop-up window in which you have set the feedback to appear as 250 and 400, respectively. Test your code and debug as necessary.

Submit your completed HTML file to the Assignment Files tab.