Homework
Up ]

Note: The homework shown here should be considered tentative until it is assigned. Actual homework will depend on how much progress is made during a given class. Homework must be received in order to get credit for it. Homework may be turned in up to 2 classes after it is assigned for credit. 

Warning: I don't usually finalize the homework for the coming week until shortly before class.

From Class #1 (1/15/05):

Send an email to your instructor: mhamill@computer.org with an alias, your name, and a phone number and your email address. Send a one word alias. This will be used to identify you in the class online grade book. Do not use a password, but use a word that is unique and that no one else in the class would know. Note: Please be aware that I use ChoiceMail anti-spam software. It will send you an email that will ask you to go to a web site. There you must enter a word embedded in a graphic to actually get the email to me. It is a one time thing and you will never have to do it again.
Read Tutorial 1.1, 1.2 and 2.1.
Download and install Internet Explorer if you don't already have it installed on your PC.
Download and install Mozilla Firefox.
Implement the Hello World example in the handout Notes on Using Notepad with HTML and test it in both Netscape Firefox and Internet Explorer.
Consider downloading, installing and learning to use NoteTab Light as an alternate text editor to Notepad.

Note: I will not be collecting any homework for Class #1. However if you don't do the example you put yourself at a strong disadvantage.

From Class #2 (1/22/05) Due: 1/29/05

Class Canceled due to snow

From Class #3 (1/29/05) Due 2/5/05

Complete Exercise demonstrated by instructor in class on marking up basic tags.
Complete Tutorial #1, Case #2 (Mathematics Department, Coastal University) and provide printout of your HTML and the graphical result to turn in next class. A ZIP archive of the files needed is located here. (If you can't unzip the files, you can download an evaluation copy of WinZip, or just try to get the files off your student CD.) Lowercase all tags and check your results with both Mozilla Firefox and Internet Explorer.
Read Thru Tutorial 3
Try to complete the rest of the homework but if you are lost I'll extend the remaining homework for this week an extra week:
Complete Exercise on relative links as homework and turn in.

From Class #4 (2/5/05) Due 2/12/05

Note: Project #1 is now due one week later due to 2nd class being canceled. New due date is February 19th!
Convert the following color pairs to hexadecimal. Show your work and turn in as homework:

Red =  55 Green =  233 Blue = 111

Red =  91 Green =  78 Blue = 233

Red =  188 Green =  11 Blue = 198

Read thru end of Chapter 4
Complete and turn in Tutorial #3, Review: Arcadium. Turn in a printed copy and the HTML of the pages index.htm, toddler.htm and map.htm only. Staple together, put your name on it and turn it in at the start of the next class. We will try to start this in class but may not be able to since we're still playing catch up! Note: you might want to do your work in Firefox and have this page and this page opened as tabs for easy reference to HTML and CSS syntax. In Firefox you can create a tab by pressing CTRL-T.

From Class #5 (2/12/05) Due 2/19/05

Complete Resume (Project #1) for next class. Follow the instructions carefully!
Complete Tutorial #4, Case #2 (Dunston Retreat). Note: your first priority is to complete Project #1. This can be turned in on 2/26 if necessary. Do your best on Project #1 because it counts for 10% of your grade.
Read Article on File Transfer Protocol. Note: these instructions apply to the UNIX operating system, but the same thing can be done from the Windows command line (i.e. Command Prompt or MS-DOS). Try it: open MS-DOS or the command prompt in Windows type FTP and try any of the commands!

From Class #6 (2/19/05)

Read through Tutorial #5 (Frames)
If you didn't do Tutorial #4, Case #2 (Dunston Retreat) last week it must be turned in next week in order to receive credit.
Download and install an FTP tool. (DeluxeFTP is free and good for basic use.)
Configure FTP Tool so you can publish to your local on www.student.nvcc.edu. (Instructions are here.) If you have access problems contact the NVCC Help Desk.
Publish your résumé (Project #1) in a folder called Project_1 on the web server of your choice (suggest the NVCC student web server). Test it with both IE and Mozilla Firefox. Send me the URL. If it looks good you will be credit for the homework! If Project #1 was published to a web server then you've got credit for the homework already.

From Class #7 (2/26/05) Due 3/5/05

Midterm Next Week!
Complete Tutorial 5, Case 2 - Browyer Realty (Zip or Windows .exe) .
Read through Tutorial #6 (Forms)

From Class #8 (3/5/05) Due 3/19/05

Complete Tutorial 6, Case 2 - The Fitness Factory (Zip or Windows.exe).
Read through Tutorial 7 (Cascading Style Sheets)

From Class #9 (3/19/05) Due 3/26/05

Complete exercise started in class: Tutorial 7, Case 2 - The Chamberlain Civic Center. Steps 5 & 6 are not required as we have not discussed it yet.
Begin working on Project #2 (due in two weeks).
Read Tutorial 9, "Working with XHTML".

From Class #10 (3/26/05) Due 4/2/05

Concentrate on completing Project #2. Note that the project is due next class. Make sure you check your project in both IE and Mozilla Firefox because I will!
Use the W3C HTML Validator Service to make your résumé from Project #1 XHTML compliant. Validate all your pages using the XHTML 1.0 Transitional DTD. Print out with source code and turn in the results.

From Class #11 (4/2/05)

Skim Tutorial 10, "Working with Javascript". While Javascript is not taught in this class, Javascript integration is taught. So pay particular attention how Javascript is placed in web pages. In particular look at "Inserting Javascript into a Web Page" on page 524.
Your book does not really get into Javascript events so look at the examples at the W3C Schools site related to using Javascript with forms. Pay particular attention to Javascript form validation example. Get a basic understanding of the possibilities of using Javascript with forms by playing with each example.

From Class #12 (4/9/05) Due 4/16/05

Hopefully you are beginning the design for the final project due April 30th. Remember that you can have one partner on your project.
Read about the history of Apache Web Server.
Read this online article about Perl.
Read about the open source MySQL relational database.
Read about the History of PHP.
Read about Python.
Create a simple form with one text field with a maxlength="30""" and a Submit button. Copy and paste the following Javascript function into the appropriate place in the HTML. Code an onsubmit event for your form so that at least 5 characters are entered but no more than 30 characters are entered. The form should not submit if there are less than 5 characters or more than 30 characters entered. It doesn't matter where you submit the form to or if you leave off an action. If you wish you can send it to the same URL used for Project #2.
function InRange(field, minlen, maxlen) {

  // This function checks to see if the size of the given field falls
  // inside the minlen and maxlen value. If it doesn't an appropriate
  // error message is issued and the function returns false. The field
  // should be sent as an object

  returnvalue = true;
  if ((field.value.length < minlen) || (field.value.length > maxlen)) {
    returnvalue = false;
    if (minlen == maxlen)
      alert("Form field " + field.name + " must have exactly " + maxlen + 
        " characters");
    else {
      if (minlen == 0)
        alert("Form field " + field.name + " must not exceed " + maxlen + 
          " characters");
      else 
        alert("Form field " + field.name + " must have at least " + minlen + 
          " characters but no more than " + maxlen + " characters.");
    }
  }
  return returnvalue;
}

From Class #13 (4/16/05) Due 4/23/05

Read Chapter 8.

From Class #14 (4/23/05) Due 4/30/05

Concentrate on completing your final project which is due at the start of the next class
Extra credit assignments are due no later than next class.

From Class #15 (4/30/05)

Prepare for final exam which will be given at 9 AM at Saturday, May 7th.