Introduction to JavaScript

text zoom

Introduction to JavaScript



For this basic instruction manual on JavaScript, I am going to assume that the reader has a basic knowledge of HTML. Javascript is often confused with Java which is a completely different language. JavaScript actually originates from ECMA script. JavaScript is an object oriented programming language. As this guide is only a basic guide for beginners, we will not be discussing the philosophy of Object Oriented Programming Language in depth. We will be getting straight to the basics of writing working scripts. There are several things that you will need to know before we write our first script however. The first thing we will cover is the basic components of JavaScript. I will list the basic components here and we will begin to explain them in more detail in chapter one. The following is an overview of what we will be learning in this guide:



Basic JavaScript components:


Objects:
we will define the JavaScript object and teach you to build your own.
Functions:
how to create our own and learn JavaScript's built in functions.
Strings:
what they are and how they are built.
Variables:
basic standards for defining variables.
Methods:
we will show you how to create methods which are the "verbs" of JavaScript.
The DOM and the BOM:
discover the Document Object Model and the Browser Object Model.
Loops:
we will learn how to use "for" and "while" loops to name two.
Reserved words:
what they are and how to use them.
Operators:
what they are and their functions.
                    

Copyright © 2012 VisualBuilder. All rights reserved