Write two functions that generate random whole numbers. You will be basing the numbers on the size
Fantastic news! We've Found the answer you've been seeking!
Question:
Write two functions that generate random whole numbers. You will be basing the numbers on the size of the gamespace. One function should return numbers relating to the y positioning and other should return numbers relating to the x positioning. You will need to review the size of the gamespace to set the correct values. Name the functions appropriately. Do not write these functions in the jQuery ready function. Write them just below it. You should test them to ensure they are working properly. Call them from the jQuery ready function and alert() the values. Do not comment out the alerts or remove them. 8. In the jQuery ready function, write some Javascript/jQuery code which adds a jQuery click event listener to button#start_button. For the time being, add an alert() to test that the button click is working. 9. Create a function (outside the jQuery ready function) which increments the user's score when called and updates the HTML in span#score. Hint: You should create a global variable to keep track of the score. 10.Call your score increment function within Document Ready for testing purposes. Once the page loads, the score will go up by just 1.
10.Call your score increment function within Document Ready for testing purposes. Once the page loads, the score will go up by just 1.Here is my code and thanks for helping < html > POP-The- Bubble (CSCI2447)title>