How to preview image before upload using JavaScript ?

In this tutorial, we will be learning to preview an image without actually uploading it to the server. We will use couple of lines of JavaScript code to achieve this. We will... Read more »

Design progress bar using CSS and JavaScript

A progress bar is a graphical control element used to visualize the progression of an extended computer operation, such as a download, file transfer or installation. A progress bar can be used... Read more »

Confetti Party Popper Animation using JavaScript

  What is a Party Popper ? A party popper is a handheld pyrotechnic device commonly used at parties. It emits a loud popping noise by means of a small friction-actuated explosive... Read more »

Calculate Internet Connection Speed using JavaScript

In this article,  we are providing you with a code snippet which you can include in any webpage where you want to display the internet speed in Mbps. Basic Idea : The... Read more »

Access Camera and Read QR code using JavaScript

In this tutorial, we are going to create a QR Reader using JavaScript and HTML5. JavaScript enables us to access the camera and then we can easily scan the QR code to... Read more »

Draggable HTML Element using pure JavaScript

In this article, we are going to learn to create a draggable HTML element with pure JavaScript and no use of any other libraries or plugins. Source Code : <!DOCTYPE html> <html>... Read more »

Random Background Color using JavaScript

In this post, we will be writing a simple JavaScript function that will generate random color which we set as the background of webpage. Source Code : <body onclick="changeColor();"> </body> <script type="text/javascript">... Read more »

Bulb On/Off Effect using JavaScript

In this tutorial, we will be using JavaScript to create a bulb on/off effect in a webpage. The following source code uses two identical bulb images one in on state while the... Read more »

Cool Trick : Like all Facebook posts at once

In this article, we are going to learn a cool trick in Facebook using JavaScript. We are going to write a couple of lines of JavaScript codes which will like all the... Read more »

Detect whether Internet speed is Fast or Slow using JavaScript

In this article,  we are providing you with a code snippet which you can include in any webpage where you want to display internet speed whether it is slow or fast. This... Read more »