Basics – Javascript variables and scopes

Javascript Variables and Scope

Prerequisites

This is a basics lecture on Javascript. An understanding of the Document Object Model to allow you to manipulate objects with Javascript is important but not necessary to understand this video Lecture – The Document Object Model   You will need to understand the basics of creating a web page and html before this video CET 4583 Lecture – XHTML Lecture 1

Summary

This video covers the basics of declaring and scoping variables using Javascript. Fundamentals like the concept of scope are covered. Also the ability to create and call functions is covered in some detail.

Topics covered:

1. Variables

2. Scope rules

3. Document Object Model

4. Function Calls

Video

http://youtu.be/RHkhE56jYeY

Reference Materials

http://jsfiddle.net/reaglin/nM9rN/ – JSFiddle with code used in video.

Additional Information

COP 4813 Lectures