Full version: jsB@nk » Background » Background Color Chooser 2
URL: https://www.javascriptbank.com/change-background-color-by-use-prompt.html
Let the visitor choose the background color with a JavaScript prompt box.
Full version: jsB@nk » Background » Background Color Chooser 2
URL: https://www.javascriptbank.com/change-background-color-by-use-prompt.html
<SCRIPT language=JavaScript><!--var color = prompt ("What's your favorite color?" , "Type your favorite color here");document.writeln ("<body bgcolor=" + color + ">")// --></SCRIPT><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->