Homework 1
Make a Web Site
50 points, due 11 PM on July 6th, 2006
Your course web site is a portfolio for your course work. By the end of the semester, any outsider (which could include future employers) should be able to go to your web site and see all of the results of your hard work. They should also be able to play some video games you have written. Now we are just going to get started with the shell of a web site. A sample page is located here.
Your web site must contain the following web pages:
  1. 1. Introductory page
  2.  Your name
  3.  Your major
  4.  Summary of your computer expertise at the current moment
  5.  Links which can be placed anywhere on the page:
  6.  Duke's homepage - http://www.duke.edu
  7.  Duke computer science - http://www.cs.duke.edu
  8.  A classmate's page - http://www.duke.edu/~hisorherlogin
  9.  A Java Applet video game
  10.  Another site of your choice
  11.  Links which must be at the top of the page (similar to the course website):
  12. 2. Homework page
  13.  A link to each homework assignment
  14.  A summary per homework that includes
  15.  Team members if any
  16.  Acknowledgment of other help received
  17.  Directions for how to run any programs in the assignment
  18.  Any other pertinent information
  19.  A link back to your Introductory page
  20. 3. Project page
  21.  For now just a place holder, saying more to come
  22.  A link back to your Introductory page
Update: There does not seem to be a discussion board yet for the summer session of this class (only last Spring’s discussion board is set up at the site below)... so, instead of posting to the board, just e-mail me when you are done.
Once you finish making your web site, post a message to the class discussion board telling people about it and include a link to it. Extra credit will be given for those students that respond to other students favorite and least favorite games (i.e., discuss the topic on the bulletin board).
How to
To create the content for your website, you can use a program specifically designed to edit web pages (like Dreamweaver, Frontpage, or iWeb), or a standard modern word processor (Word, OpenOffice, Text Edit, etc.). Any of these editors allow you write text or import images without worrying about the actual HTML code used to format the web page.  You may, however, choose to make your web page with a simple text editor by writing HTML code yourself.  If you would like to learn more about the hypertext markup language, HTML, you can look at a these sites:
    •    HTML Basics (pdf) (ppt)
    •    HTML Tutorial
For more help on creating a web page, OIT has created a Duke-specific tutorial online here (although it is DreamWeaver specific, it contains a lot of generically useful instructions).
Once you have created a website, you will need to transfer it to a web server (to “publish” it, or “put it on the web”). To do that, you need to save your files into a specific folder on the Duke University computer system (acpub). To transfer work from your computer to acpub, use the following instructions (note: “directory” and “folder” are synonymous and can be used interchangeably):
  1. 1. Open up your SSH Secure Shell -> Secure File Transfer Client.  This program is freely available for Duke students.
  2. 2. Select File -> Quick Connect.
  3. 3. For the Host Name to connect to, enter godzilla.acpub.duke.edu.
  4. 4. For the User Name put in your NetID.
  5. 5. Put in your password when prompted.
  6. 6. On the right side will be your files on your Duke account, and on the left side are files on your personal computer. Find the directory public_html in your Duke account.
  7. 7. Double click on the public_html directory.
  8. 8. Create a new directory within public_html called cps004.
  9. 9. Double click on the cps004 directory.
  10. 10. Now find index.html on your local computer.
  11. 11. Click and drag index.html to your Duke account to copy the file into your cps004 directory.
  12. 12. If you've done everything correctly, you should be able to go to your web address, which is http://www.duke.edu/~your_login/cps004 (where you replace your_login with your actual username) and see the web page you just created.
Be sure to start early enough to ask for help if you get stuck!