This repo contains the materials, notes, and example code from our weekly JavaScript meet-ups.
The first few weeks of our Meet-ups will be devoted to covering the basics. An 30 min to 1hr of each meet-up will also be designated to individual help and 1-on-1 help with personal projects.
Some notable JS tutorial, reference, and example links are featured below:
- Getting Started, Mozilla Developer's Network (MDN)
- Reference and Documentation, MDN
- Help and lots of questions, Stack Overflow
Have a question or want to propose a Meet-up topic? Post on the oLab forum or create an issue on this repo.
All code snippets and demos from our meet-ups can be found in the examples folder in this repo.
What is JavaScript?
A brief history of web scripting: the Java applet, Flash, and now JS.
Basics
- HTML + CSS + JS
- The browser as a context for running JavaScript
- How code is run (top to bottom)
- Writing JavaScript in Sublime text,
.html
and.js
files, and//comments
- Variable types:
boolean
,int
,float
,char
,string
,array
,Object
, andfunctions
- The
Object
: properties, methods, andjson
- Variable scope (global vs local)
- Logging and using the console
- Rendering to the browser and DOM manipulation (with jQuery)