Dept. Colloquiua
CS 101 Web
Construction, Winter 2008, Instructor: Jeffrey Horn
COURSE ANNOUNCEMENTS (Sunday, April 27,
2008)
- What's REALLY New:
- A bit more FINAL information. See
below.
- Due date extension for A6: Now due Friday, May 2. If you
handed it in by the original deadline of Friday, April 25, I will give
you extra credit (approx. equivalent to a 1/3 letter grade increase,
e.g., B -> B+)
- Not so New (Older Announcements):
CONTENTS
LECTURE NOTES
ASSIGNMENTS
- Assignment 1
"First Web Page"
- Handed out: Wednesday, January 23,
2008
- Due: Wednesday, January 30, 2008 IN
CLASS!
- Goals:
Simply a "hello world" type of programming
assignment. So major goal is simply to get used to the
"development environment", which includes creating, editing, and
viewing your own valid .html file, using a text editor and a browser,
and using actual valid html tags.
- Details: click here
- Assignment
2 "Multimedia Pages with Style"
- Handed out: Monday, Feb. 4,
2008
-
Due:
Monday, Feb. 11, 2008 Wednesday, February 13, 2008
- Goals:
Create a
static web page with images, lists, and using CSS to format.
- Details: click here
Assignment 3
"Links"
- Handed out: Wednesday, Feb. 20, 2008
- Due:
Part 1: the Class Ring |
Friday, February 29, 2008
(midnight) BEFORE SPRING BREAK! |
Part 2: your own Multi-page
WebSite |
Wednesday after Spring Break
(March 12, 2008) |
-
Goals:
- Create a site with multiple, interlinked web pages
(i.e., HTML files),
- Use different types of links,
- Use a table for simple layout of content,
- Use a standalone CSS file for styling of multiple
pages.
- Details:
click here
- Assignment 4 "FORMS" is assigned. Due in one week. See
here.
- Assignment 5 "Intro to Programming in
JavaScript: Guess-the-Number Game!"
- Handed out: Monday, March 31, 2008
- Due: BEFORE CLASS, Monday, April 14, 2008
- Goals:
- Learn how to program in a full (Turing-complete)
programming language: JavaScript
- Embed a client-side script (program) in a web page
(HTML).
- Learn event-driven programming.
- Generate and use random numbers.
- Use
conditional branching (i.e., "if-then-else" statement!)
- Details:
- Implement a "guess-the-number" game.
- The game should:
- Pick a random number from 0 (or from 1) to X (where X is
an integer greater than 10).
- Ask the user/player to guess at the number until a
correct guess is offered.
- Upon a correct guess, inform the player of the win.
- Upon an incorrect guess, give the player a clue.
E.g., "Higher/Lower".
- Example Code developed
in-class
- Turn-in Procedure: Upload to web.
Email me URL.
- Grading Guidelines:
- For approx. "C": make an effort!
- For approx. "B": a game that actually WORKS! It
must allow the user to guess, and it must reply with correct
clues. It must also identify a correct guess when one is
offered.
- For approx. "A": one or more "enhancements",
such as...
-
Give the player a
button to reset the game. This would allow the game to
be played over and over. OR...
-
Keep track of the player's
"score" (number of guesses). OR...
-
Allow the player to choose the
range of numbers (rather than just fixing it to 1 to 100,
let's say). OR...
-
other ideas (get
approval from me, Jeff, first!)
- The above are general guidelines. I will still count
good style (i.e., comments, indentation), DOCTYPE declaration at
the top, and VALIDATION. Also, you should comment your
code. Show me that you can use JavaScript commenting!
- Assignment 6 "More JavaScript (with Image Maps)"
- Handed out: Wednesday, April 16, 2008
- Due:
Friday, April 25, 2008.
Friday, May 2, 2008. (extra
credit if you handed it in by the original deadline, approx.
equivalent to a 1/3 letter grade increase, e.g., B -> B+)
- Goals:
- Details:
- Implement a "Find-Waldo" type of game.
- The game should:
- Show the user an image.
- Ask the user/player to find something in the image and
click on it.
- If the user's click is correct, then increase the score.
If incorrect, do not increase score.
- You must have at least TWO somethings ("Waldos") that
the user can click on.
- Score should cumulative and displayed.
-
Help:
-
Example Code
- ISMAP Attribute: To help you find out
the coordinates of items in your image, use the ismap
attribute in your img element. This allows you to
see the coordinates of your mouse!
Try it here.
- Turn-in Procedure: Upload to web.
Email me URL.
- Grading Guidelines:
- For approx. "C": make an effort!
- For approx. "B": a game that actually WORKS! (as
specified in "Details" above).
- For approx. "A": one or more "enhancements",
such as...
-
Two or more images each with one
or more "Waldos".
-
Use of the "poly" shape.
(See
here
for info on shapes like poly, circle, and rect.. Look
under the "optional attributes", in particular the
attributes "coords" and "shape".)-
other ideas (get
approval from me, Jeff, first!)
- I will grade this one solely on the basis of functionality
(i.e., does it work?)
PROGRAMMING
- Language: HTML, CSS, Javascript
- Platform: NMU IBM
ThinkPads OR Apple MacBooks
TESTS AND
QUIZZES
- All tests are open book and open notes. Some require your
notebook computer (I'll let you know ahead of time!) NONE are "open
neighbor"! (i.e., no help from others!)
- Quiz 1 on Monday, March 17, 2008, first 10-15 minutes of class.
Guide to quiz here.
FINAL
TWO
OPTIONS FOR CS 101 FINAL:
- Exam:
- Project:
- Examples:
- An external CSS page to replace (and improve upon!)
Fluffy's in A4.