BUSINESS 158 [M] [1] [2] [3] [4] - Classroom A - Classroom B

Week 2: Javascript

Javascript is coding that is contained within your HTML document. It is considered a script and not an application because it is a series of instructions that have not been compiled into a stand-alone program. We will be implementing third-party javascript into our documents this week. That means we will take code that other people have written and place it into our documents.

Two key things you need to be aware of when implementing Javascript into your document:

  1. Case matters. InsertName is not the same function as insertname.
  2. Do not put in extra returns. Keep each line of code intact.

The nice thing about javascript.internet.com is that it will give you explicit instructions for each of the following. In a nutshell, there may be a section of code to cut and paste for the head section of your document, the body section of your document, and a modification of the opening body tag. Javascript is just script that you add to your existing HTML. In the alien-spacecraft example, you will also have to download the image of the spacecraft and the background (keep the names the same), and place them in the same directory as your file.

Your assignment is simple. Do each of the following in a separate file. Instructions are on the linked page.

http://javascript.internet.com/clocks/current-date.html

http://javascript.internet.com/bgeffects/text-blinker.html

http://javascript.internet.com/games/checkboxes.html

http://javascript.internet.com/messages/alert.html

http://javascript.internet.com/messages/default-status.html

http://javascript.internet.com/bgeffects/alien-spacecraft.html

Links

http://www.w3schools.com/js/default.asp - javascript how to  

As always, post a link to your website in the classroom. If you have a problem that is not answered by peer review, please feel free to email Parker Owens at parker@ciwss.com.

 

HOME  ASSEMBLY HALL  CHARACTER WORKSHOP  CALENDAR  CHAT ROOMS  COURSES  GROUPS  INFORMATION  LIBRARY
COURSES:  BUSINESS   COMEDY   FICTION  LITERATURE   NONFICTION   POETRY   COURSE HELP
 TIME ZONES  WEB DIRECTORY
BOOKSTORE   CHAT LOGS  CLASSIFIEDS  EPRESS  F2K  INTERACTIVE STORIES  RENEW MEMBERSHIP  T-Zero XPANDIZINE

COPYRIGHT 2002 WRITOPIA INC. ALL RIGHTS RESERVED