Here's the script that made it:
<SCRIPT type="text/javascript"> //This script by Joe Burns Ph.D. RightNow = new Date(); document.write ("<FONT COLOR='green'>Welcome to my page! You stopped by on:</FONT> " + (RightNow.getMonth()+1)+ "/" + RightNow.getDate() + "/" + RightNow.getFullYear() ) </SCRIPT> Notice that I added the FONT commands around the text using single quotes to surround the color green command. The date itself was just copied and pasted from the original script then the hyphens were changed to slashes.
Close this window to return to JavaScript Primer #1 |