Links
- links created by the
<a>
- other sites
<a href="url"></a>
- same page
<a href="filepath"></a>
- directory structure
- root top level folder
- relationships parent and children
- homepages
index.html
- relative url linking to page on own website, no need for domain name
- email links
<a href="mailto: email@adress.com"></a>
- open new window
<a href="url" target="_blank"></a>
- link to spot on same page
<a href="#top"></a>
- speficie part of dif page `
Layouts
- boxes css treats html like boxes
- container one block sitting in another
- positioning schemes
- normal flow position:static
- relative positioning position:relative
- absolute positioning position:absolute
- fixed positioning position:fixed
- floating elements float
- left
- right
- both
- none
- clear
- z-index control top element
Screen Sizes
- fixed width layouts does not change size with browswer window tend to be pixels
- liquid layouts change size with user window tend to be %
- css frameworks provide code for common tasks
- multiple stylesheets CSS style rules in
- multiple sheets
@import url("url.ss");
- seperate link for both sheets
Functions
group of statements that perform task
- calling function name
- parameters info passed to function
- return value response
- declare
functionKeyword functionName () {
document.write('words');
}
functionKeyword functionName (parameters) {
return parameters * parameters;
}
- can return single or multiple values
- function declaration function you can call later in code
- function expression function in expression spot
- variable scope location where declared effects where it can be used
Pair Programming
Two developers sharing a single workstation
- how
- driver persont typing on keyboard
- navigator guides driver, big picture
- why
- greater efficiency
- engaged collaboration
- learning from fellow students
- social skills
- job interview readiness
- work environment readiness
Home