View on GitHub

reading-notes

class 4

Links are the defining feature of the web because they allow you to move from one web page to another.

<a href="the URL">the text you want to click on to take to the page</a>

links

you can:

LAYOUTS

key concepts in positioning elements

Controlling the position of elements

CSS has the following positioning schemes that allow you to control the layout of a page: normal flow, relative positioning, and absolute positioning. You specify the positioning scheme using the position property in CSS. You can also float elements using the float property. To indicate where a box should be positioned, you may also need to use box offset properties to tell the browser how far from the top or bottom and left or right it should be placed.

FUNCTIONS METHODS & OBJECTS

declaring a function:

function "name of the function"() {
    code...
    return ;
}

calling a function:
“name of the function”()

pair programming

Pair programming: is an agile software development technique in which two programmers work together at one workstation. One, the driver, writes code while the other, the observer or navigator, reviews each line of code as it is typed in. The two programmers switch roles frequently.
Why pair program?
there are four fundamental skills that help anyone learn a new language: Listening, Speaking, Reading, Writing.
Pair programming touches on all four skills: developers explain out loud what the code should do, listen to others’ guidance, read code that others have written, and write code themselves.

6 reasons for pair programming

  1. Greater efficiency
  2. Engaged collaboration
  3. Learning from fellow students
  4. Social skills
  5. Job interview readiness
  6. Work environment readiness