View On GitHub
reading-notes
Reading Notes for Codefellows!
Project maintained by
AlanYHung
Hosted on GitHub Pages — Theme by
mattgraham
Code 201
Reading 04
(All My Notes are attributed/sourced from the Resources directly preceding them.)
HTML & CSS
Links (pp. 74-93)
Links are created using <a> element
href is the attribute used to store the link
Relative links are better for internal links while URL is better for external links
Using βtoβ fields allow you to link email addresses and open email programs
id can be used to link to fields within a page
Layout (pp. 358-404)
<div> is used to contain elements to group sections of a page
Browsers display pages in a normal flow unless relative, absolute, or fixed positioning is specified
float is used to move content to the left or right of the page and display elements in columns
Pages can be set to Fixed width or liquid layouts
It is best practice to keep pages within 960-1000 pixels and display all the important content within the first 600 pixels.
Grids help create flexible and professional designs
CSS Frameworks provides rules for common tasks
Multiple CSS files can be included for a single page
JavaScript & JQuery
Functions, Methods, & Objects (pp. 86-99)
Functions are a group of statements designed to complete a specific task
Methods are the same as functions except they are created within an object
Browsers come with built-in objects to serve as tools for design
Variables are pieces of Memory that are used to store dynamic data
Local Variables only exist and can only be used within one function or method where it is declared
Global Variables exist and can be used by multiple functions or method within the file it is created
6 Reasons for Pair Programming
Pair Programming involve 2 roles
Driver - manages text editor, switching files, version control, & code writing
Navigator - helps Driver through words, scanning for typos and bugs, and keeping the final product in mind at all times.
Pair Programming touches on the 4 skills needed to learn new languages Programming & Spoken
Listening
Speaking
Reading
Writing
Reasons to practice Pair Programming
Greater Efficiency
Engaged Collaboration
Learning from Fellow Students
Social Skills
Job Interview Readiness
Work Environment Readiness
<β Back