Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DNA Databases

Authors: Stefan Kiesbye

1st Edition

0737758910, 978-0737758917

More Books

Students also viewed these Databases questions