| by Gagandeep Singh | No comments

FAQ: Difference between onload and ready?

onload is fired once all the content of the page has been loaded i.e. all the images, external files, scripts. ready is fired once your HTML DOM is ready. This is used if you need to perform some action on a particular DOM element.

Read More
| by Gagandeep Singh | No comments

Free Tuesday – PSD Mockup

Click here to download

Read More
| by Gagandeep Singh | No comments

Getting Started with Grunt – configuration

What exactly is Grunt? Grunt is JavaScript task runner which helps you automate the tasks that you do while development. There are n number of tasks that you do on a repetitive basis during the development phase such as doing unit testing, joining of various files, minification, sass to css etc. So rather than doing […]

Read More
| by Gagandeep Singh | No comments

Connect your AngularJS application to Firebase

AngularJS by default provides a two way data binding between your view and controller. By connecting a real time database like Firebase you can extend the two way data binding to three way data binding. So if there is any changes in any one of the model, view or database, the updated content will be […]

Read More
| by Gagandeep Singh | No comments

Create a chessboard using JavaScript

In this short post we will see how to create a chessboard using JavaScript. First lets begin by creating an index.html file. Canvas tag not supported In our tag we have defined a canvas element with id=canvas and width and height equal to 280px and we are importing our script.js file which has the main […]

Read More