1.Write a web page (or add to your existing web page) a script that contains an array of insulting sentences….
1.Write a web page (or add to your existing web page) a script that contains an array of insulting sentences. Now generate a random number between 0 and the length of the array. Use the confirm box to ask, “Want to know what I think?” If the user clicks “ok” use document.write to write out the insult in the array corresponding with the random number. […]