English
<!-- http://www.downcodes.com --> <!-- bbs http://www.downcodes.com/bbs--> <!--Script description: Step 1: Add the following code <head>In the area--> <SCRIPT LANGUAGE="JavaScript"> <!-- Begin function test(form) { if (form.text.value == "") alert("Please enter your favorite color code! ") else { document.bgColor=(""+form.text.value+""); } } // End --> </SCRIPT> <!--Step 2: Add the following code to the <body> area --> <FORM> <B>Enter the color code you like and press the button: <BR> <input type="text" name="text"> <input type="button" name="button" value ="Input" onClick="test(this.form)"> </FORM> <!--Step 3: Change <body> to--> <body bgcolor="#fef4d9" onLoad="clear() ;display()">