Question: Create a web form that takes in the following fields with the following restrictions: Full Name: must be greater than 2 characters Integer 1: must
Create a web form that takes in the following fields with the following restrictions: Full Name: must be greater than 2 characters Integer 1: must be an integer between 1 and 100 Integer 2: must be an integer between 50 and 150 Number 3: must be negative Number 4: any number, positive or negative Number 5: any number, positive or negative Write a program that takes in the information submitted and provides the following output underneath your form: "Hello, [Full Name]. You entered: [Integer 1], [Integer 2], [Number 3], [Number 4], [Number 5]. The largest number entered was [find largest number]. The smallest number you entered was [find smallest number]. And the sum of all of the numbers was [calculate sum]." Display the result and error messages in HTML on the page. Do not use alert. Assume that I know how to turn off HTML5 validation, and provide validation through JavaScript functions as learned in class, not HTML5 validation. Your code must include validation logic with comments to show you tested your functions.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
