cis3.2 homework #2

sklar/fall-2005

  • The homework is due via EMAIL by 6AM on Tuesday Oct 18. Send it to: sklar@sci.brooklyn.cuny.edu

  • This homework is worth 5 points in total. The distribution of points is indicated below.

  • The homework involves writing two HTML files. There are 5 parts. Each part is worth 1 point. You need to email me both HTML files.

  • You will create simple web pages using a text editor and plain old HTML (i.e., use the method we've done in class -- don't use Word or Dreamweaver).

  • And the 5 parts are...
    1. (1 point) Create the first page, naming the file with your last name followed by the .html extension. For example, my file will be called sklar.html. Inside the file, make sure that you:
      • set the title of the web page (the title is what is displayed in the heading bar of the browser, not in the body);
      • set the background color of the page to something other than the default (usually white);
      • set the text color of the page to something other than the default (usually black); and
      • display text welcoming the user to your web page (e.g., "Welcome to Prof Sklar's home page!")

    2. (1 point) Display an ordered list of your top five favorite foods. Be sure to make the page user-friendly and explain what the list is (e.g., "Here is a list of my five most favorite things to eat:").

    3. (1 point) Create a second file, naming the file with your last name followed by the number 2 followed by the .html extension. For example, mine is: sklar2.html.
      This second file should contain a recipe for one of your five favorite foods.
      Back in the first file, make a link (i.e., a href=...) to the second file, so that when you click on the list item for which the second file contains the recipe, you go to that recipe page.

    4. (1 point) As part of the recipe (second) file, use a table to list the ingredients. The table should have at least 2 columns: one for the amount and one for the name of each ingredient.

    5. (1 point) Include a picture (image) in the page. This can either be a picture of yourself or of the recipe, or anything else appropriate.
  • SUBMIT your homework by emailing me three files:
    1. the first page (e.g., sklar.html)
    2. the second page (e.g., sklar2.html)
    3. the image file (e.g., popovers.jpg)