Question: Create a Web page named magic.html that simulates the functionality of a Magic 8 Ball. Your page should look similar to the one in Figure
Create a Web page named magic.html that simulates the functionality of a Magic 8 Ball. Your page should look similar to the one in Figure 9.10, with a text box for entering a yes-or-no question, and a clickable 8-ball image (a simple one is provided in balance3e.com/Images/8ball.gif). When the button is clicked, a function should be called to select a random response from a list of at least five possible responses (using the
RandomOneOf function) and display the response in a page division.
Test your page to make sure that it operates correctly, providing a (potentially) different answer on each click?
Step by Step Solution
3.19 Rating (155 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
1409-C-S-O-S(1015).docx
120 KBs Word File
