Easy Code Share > Javascript

HTML5 Canvas Line Chart using Javascript by 7 Steps

HTML5 Canvas Line Chart using Javascript by 7 Steps

We are proposing an elegant approach to draw HTML5 Canvas line chart. Each line illustrates the distribution of one series of data, and we allow multiple series to be sketched. This article divides the drawing procedure into 7 steps for which several sections explain the principle and usage. All codes here are not complicated, so … Read more

Easy Code Share > Javascript

How to Store JSON Array in HTML Attribute and Get it

How to Store JSON Array in HTML Attribute and Get it

You can store JSON object or JSON array into an attribute on an HTML element, just as you treat them as strings. This article teach you how to embed JSON data in HTML, and moreover, retrieve it from HTML attributes. Along with this major topic, an extra tip about toggling to hide or show some … Read more

Easy Code Share > Javascript

How to Rotate a Roulette Picture on Click using jQuery

How to Rotate a Roulette Picture on Click using jQuery

The best way to animate HTML elements should be the jQuery Rotate solution presented in the article. This open-source method is based on Wilq32 and will be introduced through a funny example of roulette game. All codes here are not complicated, so you can easily understand even though you are still students in school. To … Read more