View On GitHub
reading-notes
Reading Notes for Codefellows!
Project maintained by
AlanYHung
Hosted on GitHub Pages — Theme by
mattgraham
Code 201
Reading 03
(All My Notes are attributed/sourced from the Resources directly preceding them.)
HTML & CSS
Lists (pp. 62-73)
3 type of HTML Lists
ordered - uses numbers
<ol> - creates the ordered list
<li> - contains a list item
unordered - uses bullets
<ul> - creates the unordered list
<li> - contains a list item
definition - used to define terminology
<d1> - creates the definition list
<dt> - contains the term
<dd> - contains the definition
Lists can be nested under other lists
Boxes (pp. 300-329)
CSS treats each HTML element as if it has it’s own Box
CSS can control the following Box properties:
Dimensions
Margin - Outside Borders
Padding - Inside Borders
Borders
HTML elements can be hidden using display and visibility properties
Block Line Boxes can be turned into Inline Boxes and Vice Versa
CSS can control the size of the box to help improve the legibility of internal content
CSS3 has introduced the ability to create image borders and rounded borders.
JavaScript & JQuery
Arrays (pp. 70-73)
Arrays are special variables that store a list of values.
All variables in the array have to be the same type.
Array indexes start at 0.
Arrays have a property called .length which returns the number of items in the array.
Decisions & Loops (pp. 162-182)
Continuation of previous class reading
Decision and Loops Section
Switch statements allow you to compare a value against a list of possible outcomes and has a conditional to deal with cases where value is not on list.
Data Types can be coerced into another Data Type
<– Back