Loading...

Search Results in category “JavaScript”

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
in JavaScript
Learning JavaScript Basics - Functions

Functions can play an important role in your JavaScript programs. Functions are a set of statements that are put together for a single purpose. You create a function for blocks of code you might need to re-use throughout your program. Using functions make your program modular and flexible...

read more
in JavaScript
Learning JavaScript Basics - Events

First, events are bits of code that link an action by a user, to an action performed by the computer. The action can be a mouse action or key press on the keyboard, or even loading / unloading a webpage...

read more
in JavaScript
Typed Scrolling Text

Shows one line at a time, typing each sentence in one letter at a time. Sentences can easily be added or removed by the Web Master. Reminds us of an old tele-type machine in style, and would look good on a homepage displaying the latest news.

read more

Copyright © All Rights Reserved