Question: *This question from Principle of Internet Programming subject. Question 1 (10%) Write a HTML document that allow user to determine the range of a random

 *This question from "Principle of Internet Programming" subject. Question 1 (10%)

*This question from "Principle of Internet Programming" subject.

Question 1 (10%) Write a HTML document that allow user to determine the range of a random number by using two sliders. User can specify the total number of random numbers needed within the range and specify whether the repeated random number is allowed. User can only generate one random number when clicking to a button, named as 'Generate. When first random number generated, the input for the total number of random numbers needed should not be changed again. The 'Generate button will be disabled once all the random numbers have been generated and a 'Reset button will show to reset the settings. All the random numbers must be displayed through a list and the current random number must be highlighted in red color. Prompt alert message to user when any invalid input found, such as the starting value is larger than the end value, total number of random numbers exceeds the boundaries etc. Write a JavaScript to handle the scenario that described above

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!