Question: Write a JavaScript file with the following Begin your web page with some nice HTML lines/paragraphs welcoming the user, and explaining what your web page
Begin your web page with some nice HTML lines/paragraphs welcoming the user, and explaining what your web page will do. Use color, fonts, images to make this look professional Create a table with three buttons and a text box. The buttons are named for three areas that your page will predict. (for example, you might have buttons named: Financial, Love, School, Work, Family, etc). When a user clicks on one of the buttons, the text box fills with a prediction for the future in that particular area. For example, if the user click on Financial, the text box might fill with "You will win the lottery tomorrow" To do this, you will get a random number, and use an if statement to choose a prediction based upon that random number. For each of the three buttons, there will be five possible predictions and depending upon the random number, you will have the text box give a particular predition
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
