Question: Using simple JavaScript language create the following without using the functions You will be creating a web page that predicts the future!!! Begin your web
You will be creating a web page that predicts the future!!! 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 name 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 n 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 Below is a simple sample view of a piece of this page after the Financial button has been clicked Click on a button to get your prediction! Have fun
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
