-
Notifications
You must be signed in to change notification settings - Fork 4
Session #1 Hello, Programming
Seth McLaughlin edited this page May 9, 2014
·
1 revision
- Lecture: what is programming?
- Sign up for class on edulynk.
- JavaScript demos: - Hamster Dance Revolution - Fish GL - Levitation
Hands on: Explore Chrome Experiments, and find some interesting games or other projects to share with class.
- Demo of using Chrome Dev Tools to modify a web page, changing styles and content through the elements panel.
- Demo of using the network panel to inspect HTTP requests and responses.
- Demo of creating a simple HTML page and adding a linked JavaScript file
- Discussion of prompt() and alert() for user input/output.
- Demo of console.log() for printing to the Dev Tools console.
- Discussion of the var keyword for defining variables in JavaScript.
- Demo of debugging code with the sources panel in Chrome Dev Tools.
Hands on: try writing a script to ask users for their name, and alert a clever response.