Script Tip 19 Example

The Script

<SCRIPT LANGUAGE="javascript">
var color = prompt("What color would you like the page's background to be","")
var txtcolor = prompt("What color would you like the text to be?","")
document.write("")
defaultStatus="Here's your " +color+ " background and " +txtcolor+ " text"
</SCRIPT>