Question: Using HTML, Write a JavaScript function that will generate a random number using Math.random() function and then return God Bless You, The United States of

Using HTML, Write a JavaScript function that will generate a random number using Math.random() function and then return God Bless You, The United States of America when the number is less than 0.5 or I love you, The United States of America! otherwise.

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!