How to Use HTML5 canvas arc and arcTo Functions
This article describes how to draw arcs using the canvas arc and arcTo functions with example code and an explanation of radians. 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 ...
HTML5 and Local Storage
The HTML5 local storage mechanism is a nice replacement for cookies with it you can write up to 5MB of persistent data between multiple pages to a special file on the client computer. More ...
Create Your Own Database Using Only Notepad : CDV
In this article you learn how to create a database using only a basic text editor along with any web browser. You won't believe how simple and powerful this method is. The database we design will have powerful features. More ...
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 ...
JavaScript Code to Restrict Keyboard Entries
This article shows you how to restrict the user's keyboard input to a textbox to only the digits 0 and 1. You should to be able to modify the code for your own purposes. 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 ...
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 ...
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 ...
Easy Java Script Timer Code
Sometimes you need something to happen after a delay, or you need something to occur repeatedly. This can be accomplished using Java Script timers. My objective in this article is to give you the timer code without surrounding it with a lot of confusing peripheral code so you can quickly use it for your own purposes. More ...
Prototype Keyword Gives JavaScript Object Oriented Inheritance
The way JavaScript supports inheritance is not like true object oriented languages like C+. In JavaScript, the prototype keyword allows an object to inherit the properties and methods of another object. More ...
How to Shuffle the Deck With Java Script
In this article, you learn how to get and set a webpage element's z-index. The example code provided used these principles to shuffle a small deck of playing cards by clicking or double-clicking on their images. You might use this information to create your own webpage card game, or for some other interesting application. More ...
