javascript sop xii science
SOP 1) [Javascript Practical] 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. Answer:- js1.html <!DOCTYPE html> <html> <head> <title></title> </head> <body id="background"...