Class #1 on JavaScript and HTML - Friday Oct 4th, 2002 Class 2 review (06/10/2002)


  1. Here is example #1, random numbers.

  2. Here is the looping random numbers, done during today's class. Just View menu, Source to look at the JAVASCRIPT code that we wrote. Recall the need for the BReak tag, i.e. [BR] tag. Note I cannot use a less than or greater than symbol here, thus the [ and ] around the BR tag!

  3. Here is example #2, 1st loops example. Compare the Excel VBA syntax for the VB For Next loop.

  4. Here is example #3, nested for loops used to n leading spaces on the nth line of output, for a pretty pattern.

  5. Web page and HTML resources for Wright Hall and UNI CNS students. Editors, cowboy.cns.uni.edu, working from home or Wright or library, colors, HTML, permissions, etc.

    We will look at the RGB and base 16 concepts (hexadecimal), as well as talking about why computers use the BINARY or base 2 system. One byte equals two nybbles. One half byte is a nybble and those 4 bits (binary digits) can be expressed with one hexadecimal digit.
    The base 16 digits are 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E, and F.
    Base 16 F = 15 in base 10 decimal and BR>hexadecimal F = 1111 in base 2 binary.


The top ten list for study/review of JavaScript class #1.