Here's the script that made it:

<SCRIPT type="text/javascript">

//This script by Joe Burns Ph.D.

RightNow = new Date();

return("<FONT COLOR='green'>Welcome to my page!  
returnYou stopped by on:</FONT> " 
return+  (RightNow.getMonth()+1)+ "/" 
return+ RightNow.getDate() + "/" 
return+ RightNow.getFullYear() )


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