Reading-Notes

Read: 04 - HTML Links, CSS Layout, JS Functions


Chapter 4: Ch.4 “Links” (pp.74-93)

- Javascript puts boolean values to numbers between 0-9

when using expression they usually evaluate into a single value

expressions rely on operators to calculate a value

Chapter 15: “Layout” (pp.358-404)

Responses In Ajax:


Chapter 3 (first part): “Functions, Methods, and Objects” (pp.86-99 ONLY)

Delcaring a function:

 keyword   function name
    |          |
function.sayHello(){
  document.write('Hello!'); ----> whats being done 
}

functions store code. if different parts of your code need to repeats task you can just use a function.

Calling a function

sayHello();

functions that need information


                      parameters
                       ^
                       |
function getArea(width,height){
  return width * height;
}          |       |
        the parameters are like
        variables within the function

Parameters vs arguments

Article: “6 Reasons for Pair Programming”

Pair programing: is a way of programing to tackle a project or task. It works by using a driver and navigator.

Pair programing works on listening, speaking, reading and writing. It also develops…