Brett Haymaker, JavaScript Consultant & Educator
15 MINUTES
Review the site below:
http://www.brett-haymaker.com
Practice programmatic thinking by writing pseudo code to solve a basic problem.
Define web site behavior and the practical uses of JavaScript.
Predict DOM output / changes by reading JS code.
Psuedo code - what is it? Why do we use it?
Let's psuedo code together. Let's build a 'thermostat' together.
20 MINUTES
Use psuedocode, drawing from the thermostat example, to program a computer to play the rock, paper, scissors game.
Be prepared to share your solution with the class on Slack and explain your choices.
Let's look at a simple example of JavaScript dynamically changing a page.
Practice reading the JavaScript in the JS column. Even though we haven't covered any JS syntax yet - try to reason about what is happening.
https://codepen.io/TheHaymaker/pen/BJYeVN
20 MINUTES
Some common data types:
Class name: FEWD 15