Class 06 – 2016-10-18: Javascript: Functions, DOM, Events, Surrealists
New problem set ps-06
Questions and review problem set: 5:45 – 6:45
Doin' Dishes: 6:45 - 7:15
- Try starting homework before Tuesday.
- One week from midpoint of class.
- code-pen and slack when asking questions final projects.
- Code hygiene: Indentation blocks.
- Other questions to cover today?
- Visual literacy reading.
- Finish talking about Perception.
- Surrealism and Cadavre Exquis
Review the reading & problem set details. (7:15 - 8:00)
Closing thoughts on functions:
- Closure and scope
- How to stub or fake behavior
- Recursion
Arrays
- Define an array
- Look into an array
- Iterate through an array
Objects:
- How to define
- How to use
- Add a variable to an object
- Add a function to an object
- 'Exporting' functions via global namespace
Dom and Events:
document.getElementByID();
document.querySelector();
document.addEventListener("click", modifyText);
See CodePen
In Class: Get started on Cadavre Exquis 7:00 - 8:45