Computer Science, asked by nehagharat4688, 5 months ago

Create a web page in HTML having a white background and two Button Objects. Write code using JavaScript such that when the mouse is placed over the first button object without clicking, the color of the background of the page should change after every seconds. There should at least be 7 different and visibly distinct background colors excluding the default color. When the second button object is clicked, appropriate message should be

displayed in Browsers status bar. Create another web page using JavaScript where the background color changes automatically after every _ seconds. This event must be triggered automatically after the page gets loaded in the browser. There should at least be 7 different and visibly distinct background colors. When the page is unloaded, the appropriate alert message should be displayed.

Answers

Answered by Anonymous
8

for playground input we write

Create a web page in HTML having a white background and two Button Objects. Write code using JavaScript such that when the mouse is placed over the first button object without clicking, the color of the background of the page should change after every seconds. There should at least be 7 different and visibly distinct background colors excluding the default color. When the second button object is clicked, appropriate message should be

displayed in Browsers status bar. Create another web page using JavaScript where the background color changes automatically after every _ seconds. This event must be triggered automatically after the page gets loaded in the browser. There should at least be 7 different and visibly distinct background colors. When the page is unloaded, the appropriate alert message should be displayed.

Similar questions