self_pic  

Rahman A. Williams

Information Technology Professional

Join Me At: Facebook LinkedIn Twitter



 

 

JavaScript Examples

Examples outlining simple fundamentals of the JavaScript language.

What's New?

Who Am I?
This example shows how JavaScript (JS) can be used with a simple button. Information will display after pressing the button. Enough talking, why don't you try it?
Tile Calculator
This example will calculate the cost of tiles based on the length, width, and cost per tile inserted by the user. Click the button below and give it a try. I will later add controls to ensure the user enters the correct text.  However, for now feel free to try the calculator!
Cookie Example
This example will prompt the user to enter their name.  Upon clicking the button a window will display.  If you are visiting for the first time the window will display a welcome message.  If this is a returning visit a message will display your name along with the time of day based on your machine's clock.  The date portions are utilizing the Date JavaScript function.  Fire away!
Dynamic HTML Example
This example will display simple use of DHTML. If you click on the word below which is "HELLO" the text will change to "HOWDY". By double-clicking on the word, the text will change to "SALUTATIONS". Give it a try!

HELLO

Site Map