/ga-intro-to-js

Materials for teaching the Introduction to Javascript workshop at General Assembly

Primary LanguageJavaScript

Objective

Build solid foundation in Javascript, a programming language essential to web development. After this course, you may delve deeper into particular areas such as AngularJS, D3, Phonegap, and much more.

Instructor

What do you need?

Starter package setup

  • Download Starter Package by clicking "Raw" after following link
  • Extract package
  • Move extracted folder to desired location (e.g. My Documents)
  • In Sublime Text 3, do: File -> Open, and navigate to folder location, mark entire folder, and click Open.

Class Topics

  • This is a two-day course
  • The first day is concerned with the fundamentals of the language, whereas the second is focused on application.

Day 1

Values

  • Numbers and arithmetic
  • Strings
  • Booleans
  • Expressions and Statements

Variables

  • the var keyword
  • Environment

Data Structures

  • Lists
  • Objects

Control Flow

  • if/else
  • while loops
  • for loops
  • Updating variables
  • && and ||
  • Equality tests

Functions

  • Anatomy
  • Local variables
  • Modularity

Day 2

  • The internet
  • Client/Server model
  • Basic HTML/CSS
  • APIs
  • Build Flickr API powered image carousel website