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 basic idea here is to load an image and see how much time it takes to load the image…
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 get the message in the QR Code. We can create our own QR Code Reader using JavaScript…
One Thing Per Page Design using HTML, CSS, JavaScript and JQuery
Welcome to yet another interesting tutorial in which we will be designing a webpage. The webpage shows a single item in a single view and when scrolled jumps to another item. Source Code <script type="text/javascript"…
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> <style> #mydiv { position: absolute; z-index: 9;…
Using Authentication Header with file_get_contents in PHP
In PHP, file_get_contents() function is commonly used to get content of a file or a url and it works like a charm in normal scenario. If in case, the URL or file endpoint is under htaccess authentication, issue arises. Learn How to Password Protect…
Rainfall effect using Canvas
The HTML <canvas> element is used to draw graphics, on the fly, via JavaScript. The <canvas> element is only a container for graphics. We must use JavaScript to actually draw the graphics. Canvas has several methods for drawing paths, boxes,…
Facebook Style Login Page Design using HTML and CSS
Facebook is an American online social media and social networking service based in Menlo Park, California, and a flagship service of the namesake company Facebook, Inc. It was founded by Mark Zuckerberg, along with fellow Harvard College students and…
Rotating 3D Cube effect using HTML and CSS
In this article, we are going to learn to make 3D Cube using HTML and CSS and then rotate it using css transform property. Full Source Code : <html> <head> <style type="text/css"> .stage{ margin:0 auto; } @-webkit-keyframes spincube {…
The Secrets to Success
Life is full of uncertainties. You never know what’s waiting for you in your next step. We tend to plan and look to take things in our control. However, the situation sometimes doesn’t allow us in driver’s seat. The successful are the…
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"> function…
Notebook design using HTML & CSS
The following source code provides few lines of HTML and CSS which creates a simple yet pretty looks of a notepad. Source Code : <link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Shadows+Into+Light'> <style> body {…
Simple News Ticker using JQuery Plugin
Easy Ticker is a jQuery plugin helps you create a highly customizable, cross browser, flexible and infinite news ticker on your web page. Full Source Code : <!doctype html> <html> <head> <meta charset="utf-8"> <title>Simple…
Create Marquee in webpage using CSS
Marquee is an animation effect for web pages used to create horizontal or vertical scrolling text and images. The <marquee> element of HTML is not a standard-compliant, ie the element is not part of the W3 HTML specifications. For creating a…
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 other in off state. You can use the following images for the bulb : Full Source…
Skeleton Loading Screen Animation using HTML and CSS
Skeleton screens are blank pages that are progressively populated with content, such as text and images, as they become available (i.e. when network latency allows). Grey or neutral-toned filled shapes, commonly called placeholders, meet the user…