»
EnglishFrenchVietnamese

Print - Background Color Chooser 2 - JavaScriptBank.com

Full version: jsB@nk » Background » Background Color Chooser 2
URL: https://www.javascriptbank.com/change-background-color-by-use-prompt.html

Background Color Chooser 2 © JavaScriptBank.comLet 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



JavaScript
<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-->