Home » Javascript

Learn canvas api in 20 minutes

canvas in 20 minute

Canvas is a html5 api which deal with drawing graphic with javascript. We can use this api for draw graph, photo editing and animation. So in this tutorial we will cover how to deal with 2D graphics. Prerequisite…

Read More »

Learn jQuery in 20 Minutes

jquery

Jquery is a lightweight cross-browser JavaScript library. Basically it’s used for client side and the purpose of Jquery make JavaScript much easier. Features HTML/DOM manipulation CSS manipulation HTML event methods Effects and animations AJAX Utilities Prerequisite Text Editor…

Read More »

Local storage techniques

localstorage

Local storage is the part of web storage; it is a elegant technique of storing data. This way is better then cookies and another traditional way; Local storage looks very easy but in practical scenario it is create…

Read More »

Hidden power of javascript object

Object is awesome data structure in JavaScript. Why it’s awesome? Just because of it’s store data as key and value pair and every key is unique so we can store unique information inside objects. So one question arises…

Read More »

Ninja secret of javascript array

power of array

Primitive variable just store one value. Lot of time it’s vary difficult to manage multiple variable so avoid this problem we need storage to store multiple element inside one variable. So basically array is an ordered series or…

Read More »

Power of javascript closure

Closure

It is a advance concept of javascript. This is really interesting concept in javascript. So basically it is a function inside function which can access outer function properties. According to MDN “A closure is the combination of a…

Read More »

Javascript ninja secrets

ninja_secrets

It’s all about js cool tips and tricks which help day to day programming and reduce the time of developer. For more tricks you can also read Tips and Tricks. 1. Use == instead of === == only…

Read More »

Regular expressions

regex

It is a powerful way of searching and replacing something inside a string. To implement that we can use RegExp class and integrated with strings. In Regular expressions we need pattern and optional flags. So we have 2…

Read More »

for…of

for...of

for-of is a new loop in ES6 that replaces both for-in and forEach() and supports the new iteration protocol. Use it to loop over iterable objects (Arrays, strings, Maps, Sets, etc.; see Chap. “Iterables and iterators”) Syntax for…

Read More »

Template strings

template_string

String Interpolation String Interpolation is the way by which we can insert variable into string. In Javascript We have two type for String Interpolation. 1. Traditional 2. ES6 1. Traditional Way In traditional Javascript, string always encolsed within…

Read More »