Loading...

More materials by author - Page 2

in JavaScript
Learning JavaScript Basics - Variables

What is a variable? A variable is an amount of data which can change over time (throughout your program). What is a constant? A constant is an amount of data which will never change. When using variables in JavaScript, here are a few rules to keep in mind...

read more
in JavaScript
Learning JavaScript Basics - Converting Data

Here is a quick question. What do you think will be the typeof the following variable: num1= "45";
If you said, "number" you are wrong! Yes - it is a number, and eventhough the variable name is "num1" that does not matter. It could be named anything...

read more
in JavaScript
Learning JavaScript Basics - Arrays

If you are unfamiliar to what an array is, an array is just a collection of data that is refered to by a common name. Arrays in JavaScript start with element "0." Arrays can offer you a convient way to group related variables...

read more
in JavaScript
Learning JavaScript Basics - Operators, If/Else

Now is a good time to discuss operators in JavaScript. I am also doing to discuss If and If/Else statements becuase this is when you are going to use many of these operators. There are several types of operators, and they are listed and described below...

read more
in JavaScript
Learning JavaScript Basics - Math

The math object is a built in object which includes math constants and functions. Theres no need to create any math object, because it already exists automatically when using JavaScript. There are four useful functions in JavaScript...

read more
in JavaScript
Learning JavaScript Basics - Loops

Loops are an important part of JavaScript. Loops control your program to whatever limits you set them to. There is a loop which executes a group of statements a finite number of times. Then, theres an infinite loop, which is a loop that will never terminate...

read more

Copyright © All Rights Reserved