Data Tree Structures and the DOM
10/1/2016
Multi Faceted item
Objects can have Attributes (variables)
It's own functions (methods)
Objects can contain Objects.
Object example 1.
Object type Person.
Presenter = Person.
Attributes.
Name | Age | Height | Race | Gender
Methods :
Birthday | Eat | Work | Speak | Walk
Objects in Object
Head > Face > Mouth
Person
Head
Torso
Hair
Face
Color
Style
Eyes
Mouth
Arms
Take PVDCodeCamp.org
Create the DOM Tree for this site.
Find the 2nd child of id "child"
find the siblings of id "meetups"
find the parent of "skills"