Enter the lucky2.html text from Figure 7.7 into a new Web page, then load the page in

Question:

Enter the lucky2.html text from Figure 7.7 into a new Web page, then load the page in the browser to verify that it behaves as described.

Once you have done this, modify your pick4.html page from Exercise 7.6 so that it similarly makes use of a function in the HEAD. Your function should contain the code previously assigned to the button, and have a name descriptive of the task it performs, such as Generate-Picks or Pick-Numbers. You should then modify the button's ONCLICK attribute to call that function?

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: