CSCI 100 - Homework 2

Due before class, Tuesday 26 Sep 2006

I'm trying to find out about a system to electronically submit things instead of emailing them to me. Watch this space for details.

Part 1 - Making Folders

Make a folder called hw02. Inside it create two subfolders, pages and images.

Part 2 - About yourself

self.html

Inside the pages folder, create a file called self.html. In this file include the information about yourself including:

  1. Your name
  2. A picture of yourself or of something representative of yourself (see me if you want a digital picture taken)
  3. Where you are from
  4. An ordered list of your favorite bands and/or musicians (3-5)
  5. An unordered list of your favorite websites (3-5). link the name/description of the site to the actual site itself
  6. A list of your favorite types/style/ethnicity of food (at least 2) containing nested lists of your favorite dishes (at least 2 each)

You can include more information if you'd like.

school.html

Create a file called school.html that contains information about your schooling. In this file include the following:

  1. A brief description of Oberlin college and your major. Include links to the college and your department as part of the text.
  2. A description of your major and why you are in it/what you like about it.
  3. An unordered list of your classes this semester, with links to the class websites if they exist.

You can include more information if you'd like.

Part 3 - A photo journal

In this part, you are going to create a photo journal (real or imaginary).

Download and put 6 photos inside the "images" folder. These can be your own pictures or pictures from elsewhere (with attribution if needed). You can find a list of sites that have free photos here or here. (Let me know if any site is particularly good.)

Create inside the "pages" folder a file called journal.html that describes your journal and has links to 3 html files called day1.html, day2.html, and day3.html.

Create three days of journal entries with titles, headers, and subheaders. Each day should use 2 of the images you've downloaded. Be sure to resize any images as appropriate.

Each day needs to have links to:

Part 4 - A main page

Finally, create a file called index.html in your hw02 folder. This file should have a list of links that go to the three files you created in Part 2 that describes what the pages are.

Remember that you need to set the title, section headers, and permissions for these files.

Part 5 - Uploading

You should be able to verify everything works locally. Then all you need to do is upload the one folder hw02 to your CS account inside the csci100 directory you created for the last assignment.

Recall from class discussion, a quick way to set all the permissions for a folder and its contents is to use the command chmod -R a+rX [directory]. So, if you uploaded the files into your csci100 folder, you should be able to:

  1. login to occs.cs.oberlin.edu
  2. cd csci100
  3. chmod -R a+rX hw02

Because we called the top file "index.html" the web server will display that file by default. You should now be able to see your new web page by going to http://www.cs.oberlin.edu/~username/csci100/hw02/

Part 6 - handin

You will need to electronically submit your files to me (instead of emailing them as was done in Homework #1). To do that, there are 2 mechanisms you can use:

  1. Command line tool: if you log into occs remotely, or one of the lab machines, you can just submit all the files that you uploaded.

    To do so, you should perform the following commands ('#' and beyond are comments):

  2. Web interface: go to www.cs.oberlin.edu / handin and fill out the form there with your CS username and follow the prompts.


Last Modified: September 13, 2006 - Benjamin A. KupermanVI Powered