CS 4, Summer 2006: HW 0, due Friday, June 30
Do not leave this assignment to the last minute.
Remember that no late assignments are accepted, and that includes this
first one! Although it is simple, all the remaining homework in this
course depends upon it.
- Apply for a personal
web space on the Dartmouth web server. Do this immediately, as it
may take a while for your account to be created. If you have problems
with Kerberos on your machine, try using a Dartmouth computer, which
will have Kerberos/SideCar correctly installed and configured (use
your Blitz password).
- Once you get e-mail notification that your web space is available,
create and upload an HTML file to your account, to make sure it is
working. To do this:
- With a text editor such as JEdit, BBEdit, TextEdit, or
Notepad, create a new file containing the following text, inserting
your name in place of each occurrence of the string "Firstname
I. Lastname":
<html>
<head>
<title>Firstname I. Lastname</title>
</head>
<body>
<h1>Welcome to Firstname I. Lastname's New Web Site</h1>
</body>
</html>
- Save this file with the name
new.html. If your text
editor does not permit you to save with file name extensions other
than .txt, save it first as new.txt, then re-name
the file in the Finder (for Macintosh users) or the explorer (for
Windows users) to have the name new.html when you are
done.
-
Upload this file to the
public_html folder of your new
web account. Various FTP programs are availbe for doing the upload;
Dartmouth supports Fetch
(Mac) and FTP
Explorer (PC).
- Type the URL you received from Computing Services when your new
web account was created into your web browser, and add the file name
new.html to the end. You should see a page with the
message "Welcome to Firstname I. Lastname's New Web Site" on
it. You don't need to keep this file around, if you don't want to.
- Note: if you want people to be able to visit your public web
site via the base URL provided by Computing Services, upload a file
called
index.html to your public_html folder.
You can put whatever you want in this file; we won't be using it
in CS 4.
- Activate your ID card for access to Sudikoff and the laboratory in
Rm. 003. To do this, bring your ID card to Kelly Clark in Rm. 101
Sudikoff on a weekday between 8:30am-12:00pm or 1:00pm-3:30pm, and let
her know you are in CS 4. You will need to fill out and sign a simple
form, and it takes at least one day to activate your access.
- Install a
version of Mozilla 1.7. Note that there are differences between
the various web browsers, and you must make sure that your code works
on Mozilla 1.7, as this is what the TAs will be using to grade your
homeworks.
- Create a "private" folder, with a code name as described in the course policies.
- Finally, the only thing you have to turn in:
- Create a file named
hw0.html that is just like
new.html, except that, instead of the welcome message, it
says that you (give your name) have read and will comply with the CS
4 course policies. Include the piece of JavaScript code that will
time stamp your assignment. Thus your
file should like like this (with your name substituted).
<html>
<head>
<title>Firstname I. Lastname</title>
</head>
<body>
<h1>I, Firstname I. Lastname, have read and will comply with the CS
4 course policies.</h1>
Last modified: <em>
<script type="text/javascript">
<!--
document.write(document.lastModified);
// -->
</script></em>
</body>
</html>
- Upload this file to your private folder.
- Print it out, write its URL, sign it, and turn it in.