Getting Started with JavaScript

by M. Douglas Wray

Press key to advance.

M. Douglas Wray

Topics We'll Cover

  • Brief history of JavaScript - What IS JavaScript (vs Java)
  • Client-side JavaScript and the DOM
  • Server-side JavaScript
  • Firefox Web Console and Scratchpad
  • Adding JavaScript to a web page
  • Link statement, external js file - like JQuery
  • Embedded code, limit scope of program
  • Variables - types, declaring, evaluating, scope, globals and locals
  • Arrays - types, declaring, basic functions
  • Objects - some basic examples and operations
  • Functions - creating, calling, passing parameters, scope
  • Recursion, Nesting, Closures
  • Using JQuery - getting it, linking it, understanding it
  • Using JQueryUI - examples
  • Other JavaScript Libraries
  • Questions and Resources

Brief history of JavaScript

What is JavaScript (vs Java)

  • Originally called LiveScript
  • Cross-platform (all browsers)
  • Object-oriented (DOM)
  • Resembles but is different from Java
  • Java is compiled vs JavaScript runtime
  • Client and Server side

Adding JavaScript to a web page

Link statement

External js file

Arrays - types, declaring, basic functions

Objects

Some basic examples and operations

Recursion, Nesting, Closures

Questions? Contact me!