Sessions

Series Introduction – 01

Series Introduction – 01

4 years ago
In this introductory video, Bob sets some high-level goals and explains how JavaScript is used in web development as well as how to get the most out of this video series. Download the entire series source code.  
Writing your First JavaScript Application – 02

Writing your First JavaScript Application – 02

4 years ago
We get started by setting up our development environment and an HTML5 template webpage before building a simple ‘Hello World’ example. Then we create a more interesting example discussed at length in the next lesson.    Download the entire series source code.   This video was updated August 16, 2012.
Dissecting the First JavaScript Application You Wrote – 03

Dissecting the First JavaScript Application You Wrote – 03

4 years ago
In the previous video, Bob created an interesting JavaScript example, and in this video he walks through the example line by line, explaining the purpose of the various key words and operators and providing a general overview of topics for the next eight lessons.   Download the entire series source code.   This video was […]
Writing JavaScript in Visual Web Developer Express Edition – 04

Writing JavaScript in Visual Web Developer Express Edition – 04

4 years ago
Before discussing JavaScript proper, Bob demonstrates how to ease JavaScript development by downloading, installing, and utilizing the free Visual Web Developer Express Edition from Microsoft.
JavaScript Variables, Types, Operators, and Expressions – 05

JavaScript Variables, Types, Operators, and Expressions – 05

4 years ago
Most programming languages have a notion of variables, data types, and syntax rules including statements, expressions, operators, keywords, and operands. In this video, Bob provides a quick overview of the most important topics related to basic syntax rules. He explains how JavaScript variables and types are different than those in other programming languages, explaining the […]
Conditional Logic in JavaScript – 06

Conditional Logic in JavaScript – 06

4 years ago
In this lesson, Bob demonstrates the use of the if … else if statement, the ternary (or conditional) operator, and the case … select statements. Along the way, we learn about the && and || operators as well as the Date object in JavaScript.
JavaScript Functions – 07

JavaScript Functions – 07

4 years ago
Functions are central to JavaScript, much in the same way classes are central to Object Oriented Programming languages like Visual Basic or C#. In this lesson, Bob demonstrates the basics of creating and calling functions, passing arguments, using the arguments object, and creating function literals as well as anonymous functions.
JavaScript Arrays – 08

JavaScript Arrays – 08

4 years ago
You can think of arrays as variables that hold other variables. In this lesson, Bob demonstrates how to create, initialize, and retrieve elements of arrays using indexes. He also demonstrates how to loop through all elements in an array (foreshadowing the topic of the next lesson) and how to create associative arrays. 
Looping Statements in JavaScript – 09

Looping Statements in JavaScript – 09

4 years ago
Looping (or rather, iteration) statements allow your application to individually access each item in an array or other collection of object properties. In this lesson we demonstrate four different looping statements pointing out the nuanced differences between each: the while, do … while, for, and for … in.
Understanding Function versus Global Scope – 10

Understanding Function versus Global Scope – 10

4 years ago
One often misunderstood topic that leads to errors in programs is how JavaScript treats variables declared inside and outside of functions. This video explains the ramifications of variable scope at both the functional and global levels. For developers coming from other programming languages, it demonstrates how your familiarity with block scope will lead you to […]
Working with External JavaScript Files – 11

Working with External JavaScript Files – 11

4 years ago
Up to now, we’ve been mixing our JavaScript with our HTML5 code.  However, to write better organized and more accessible applications, we must learn a new technique — how (and why) to reference external JavaScript files.
Organizing and Simplifying JavaScript with Object Literals – 12

Organizing and Simplifying JavaScript with Object Literals – 12

4 years ago
Developers coming from Object Oriented Programming backgrounds may notice similar constructs (objects, the new keyword, etc.), but in JavaScript these ideas are implemented much differently. This video demonstrates the creation of simple objects called "object literals" to keep related properties and functions (methods) together in one structure.  Finally, Bob demonstrates using constructors and the new […]