Assignment #1 Answer:


...was created by this:

<SCRIPT type="text/javascript">
 ("<FONT COLOR='RED'>This Is Red Text</FONT><BR>")
 ("<FONT COLOR='BLUE'>This Is Blue Text</FONT>")

The effect was achieved by adding a second document.write line to the script and altering the HTML text inside the instance. I also added a <BR> command at the end of the first instance in order to get these on two different lines.

Did you get it?

Close this window to return to JavaScript Primer #1