JavaScript: JavaScript and Web Development Source Code

Difference Between [] and {}: Arrays vs. Objects in JavaScript

Difference Between [] and {}: Arrays vs. Objects in JavaScript

In JavaScript, we use braces {} for creating an empty object and brackets [] for creating an empty array. I find the Developer console in…

JavaScript Program to show Clock Type

This is a really neat little script that can display the current time in "Military Time" or "12 Hour Time" with the push of a…

JavaScript Program to show Date and Time Stamp

This is a simple JavaScript Program to show Date and Time Stamp. With this script, you can have the date and time the page was…

JavaScript Code to show Browser Information

This JavaScript code does a great job of displaying information about your web browser. Information includes Browser Name, Version, your computer's OS platform, and whether…

Airport Calculator

This useful JavaScript calculator will tell you the degrees, Nautical Miles, Statute Miles, and Kilometers between your originating and destination airports. It's got a built-in…

Browser Check

It's often necessary to make a script only accessible to the newer browsers (that can support the script without error) and keep older browsers from…

Phone Bill

Does it ever bother you how much a long-distance phone call is going to cost, after you hung up? With this script, all you have…

JavaScript – Printing the Periodic Table

The periodic table is a tabular arrangement of the chemical elements, ordered by their atomic number, electron configuration, and recurring chemical properties, whose adopted structure…

Interest Calculator

Use JavaScript to find out just how much that new house or car is going to cost you each month. Enter values into the fields…

Blinker

This script allow you to quickly blink the background. With a click of a button, the background changes from white to blue and back several…