Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Write a JavaScript file with the following image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Object Databases The Essentials

Authors: Mary E. S. Loomis

1st Edition

020156341X, 978-0201563412

More Books

Students also viewed these Databases questions