Page does not exist.
Missing Page
Sorry. The page that you requested does not exist on the Department of Computer Science web site.
[an error occurred while processing this directive]
File: index.shtml
Creator: George Ferguson
Created: Mon Sep 17 12:39:03 2012
Time-stamp: Sorry. The page that you requested does not exist on the Department of Computer Science web site.
Last update: Thursday, 07-Feb-2013 09:45:46 EST
Page does not exist.
Missing Page
[an error occurred while processing this directive]
DMS102/CSC170D: Introduction to Web Development
Spring 2013
[an error occurred while processing this directive]
Assignment 3: Scripts and Variables
script
element in the body of the document
to create the following content:
Concentrate on making your scripts readable/understandable (as well
as correct).
Things to think about
[an error occurred while processing this directive]
File: doc-finish.shtml
Creator: George Ferguson
Created: Tue Dec 6 13:46:48 2011
Time-stamp:
The more you understand this now, the easier life will be as we start
developing more complicated programs. Use your lab times effectively,
especially if you are new to programming.
real
browser (Firefox
recommended; Chrome or Safari usually also ok) to test its
execution.
document.write
), first think what the HTML should look
like. That is, what would it be if you were writing a static
page. Then get your script to produce that HTML
using document.write
. And then use variables (and perhaps
also window.prompt
) to get the dynamic parts into the
HTML that you're adding to the document.