Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

*This questions from Principal of Internet Programming Subject Question 1(a) (10%) Write a JavaScript to roll two dice randomly. The application must display the output

image text in transcribed*This questions from Principal of Internet Programming Subject

Question 1(a) (10%) Write a JavaScript to roll two dice randomly. The application must display the output in image format. For an example, Die I is 5, Die 2 is 1, the output will look as follow: The application allow user to specify the number needed, then will output all the outcomes at Question 1.(b) (10%) Write a script that allow user to enter multiple personal information, such as name, email and telephone. Display them into a description list. For any new entry of personal information should append to the end of list. Data validation needed for all fields, especially email and telephone (the length of digits must between 8 and 10). Alert a simple message to user for any invalid data found

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

More Books

Students also viewed these Databases questions