dcsimg

Assignment 3: A Possible Answer

     This could have been done a couple of ways, but here's how I did it:

     ...and here's the script that made it:

<SCRIPT LANGUAGE="javascript">

document.write("<A HREF=http://" +location.host+ "/index.html>Click Here for the HTML Goodies Home Page</A>")

</SCRIPT>

     Keep in mind though, this page has to be on a server to work. If the page is on the hard drive, then there's no "location.host".

 

Did You Get It?

 

Back to the Index Page