ch15 : layout

  • CSS treats each HTML element as if it is in its own box. This box will either be a block-level box or an inline box.
  • block-level element. -Examples include: <h1> <p> <ul> <li>
  • Inline-level element.
    • Examples include:
  • When you move any element from normal flow, boxes can overlap. The z-index property allows you to control which box appears on top.
  • Relative positioning moves an element in relation to where it would have been in normal flow.

ch 3 : Function method and objects

  • Functions let you group a series of statements together to perform a specific task. If different parts of a script repeat the same task, you can reuse the function (rather than repeating the same set of statements).

6 Reasons for Pair Programming:

  • the Driver : the only one whose hands are on the keyboard.
  • the Navigator uses their words to guide the Driver but does not provide any direct input to the computer
  • why ?
    • More efficiency : catch mistakes
    • Engaged collaboration ( double the experience)
    • Learning from fellow students (learn a new technique that would not though of before. )
    • social skills (communication is key to deal with developers)

    • Job interview readiness.
    • Work environment readiness.