JavaScript Code to Save and Load a Table Using HTML5 Web Storage
HTML5 brings us web storage, providing methods to store keyword/value data pairs in the user's browser. This example gives you JavaScript Code to allow user's to save and load a table using Web Storage. More ...
Calculate The Points of an Equilateral Triangle
Starting an equilateral triangle is easy, you just draw a line. However, drawing the third point to create an exact equilateral triangle requires a bit of calculation. More ...
Object-Oriented JavaScript
Once listed as nice to have, these days knowledge of JavaScript is a deciding factor when it comes to hiring web developers. This book treats JavaScript as a serious object-oriented language, showing you how to build robust, maintainable, and powerful libraries and applications. Read this book if you want to be able to take your JavaScript skills to a new level of sophistication. More ...
Play Music on Your HTML5 Web Page
In this article you learn how to play and control music on your webpage including adding a play list and custom controller. More ...
Regular Expression: Alternation
In this article you learn how to create an alternation regular expression that will match alternate patterns in a string. More ...
Java Script Code for a Random Circle Generator
Have you seen some Web content that uses a group of several different size and color circles as a decoration? In this article I'll show you how to use a bit of Java Script code to draw a group of random size and color circles. More ...
Java Script Message Boxes
Java Script provides three different types of message boxes that allow you to display a short message to the user, or request a bit of information from the user. If one of these built-in message boxes don't suit your needs, this article shows you how to create your own custom message box. More ...
JavaScript to Generate a Random Number Between X and Y
You can use the JavaScript Math object's .random() method to generate a random number between two values, it returns a random floating-point number between 0 and 1 so you'll need to perform additional operations on it to scale it. More ...
Easy Graph Generating Code
If you want to display a graph on your web page, you could use a graphics program to draw the graph, but that's time consuming and the resulting graph is static, it can't change or grow. In this article I will show you how to generate graphs using JavaScript. More ...
Create a Mouse Click Sound Effect
One way to add to the exerience of visiting your website is to provide sound effects. It's extremely easy to add a click sound when a visitor clicks on a link. More ...
Code for Java Script Cylinder / Cone Volume Calculator
In this article I'll show you how to use to Java Script to create a cylinder / cone volume calculator. I'll explain everything in detail so that you can learn Java Script and modify the code for your own purposes. More ...
What is a Regular Expression?
A Regular Expression (regex) is a sequence of characters that define a pattern that allows you to search, match, locate, replace, manipulate, and manage text. Regular expressions are very powerful, but also difficult to understand and complicated to use. More ...
