JavaScript Program to Change background color of web page at runtime

Write a JavaScript program to accept color name from user and set it to change background color of webpage.

Source Code
    <title>Background color change</title>
        function changeColor()
            var color = prompt('Enter a color please', '')
   = color
<body onload="changeColor()">
<p>Refresh page to change background color</p>