Question: Javascript Question Jill also wants you to create another application to help Jack and his inattentiveness. The construction company staff determines the project manager by
Javascript Question
Jill also wants you to create another application to help Jack and his inattentiveness. The construction company staff determines the project manager by the size of the contract. She wants you to create an app that tells Jack who to e-mail based on the size of the contract. The details are below:
1 to 5000 jim@abcconstruction.com
5001 to 25000 sue@abcconstruction.com
25001 to 200000 bob@abcconstruction.com
Greater than 200000 mary@abcconstruction.com
Create a prompt dialog box that tells the user to Enter an integer value greater than 0. Or enter 999 to end entries. Makesure to read the value in as an integer value. Perform validation to ensure the value is numeric and greater than 1. If the data is invalid, just display the prompt dialog box again. Dont worry about an error message.
Create the code to display an alert that tells the user Contract amount: [User input value].
[New line] Project manager: [Email based on above information].
The prompt dialog box and the alert should continue to display until the user enters 999. At that point, the application should stop.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
