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…
SVG Animation using GreenSock (gsap.min.js)
The following source code demonstrates the use of GreenSock (gsap.min.js) to show a sample SVG animation. Source Code : <style> body, html { width: 100%; height: 100%; } body { display: flex; justify-content: center; align-items: center;…
Better be Late than Regret
Whether we agree or not, all of us have been in situations when we have had no idea whatsoever on what should be our next step. We may or may not have a set of options to select from, but deciding on what to choose gets really difficult sometimes.…
Create Custom Music Player using HTML, CSS and JavaScript
In this article, we are going to learn to develop a custom music player using HTML, CSS and JavsScript (preferably JQuery). Full Source Code : <!DOCTYPE html> <html lang="en" dir="ltr"> <head> <meta charset="utf-8"> <script…
Create an Analog Clock using HTML, CSS and jQuery
In this article, we are going to learn to create/develop a working analog clock using HTML, CSS and jQuery. The basic login in this analog clock lies in the fact that a complete one round is equivalent to 360 degrees. The position of hour hand, minute…
Simple HTML parser using PHP
A simple PHP HTML DOM parser written in PHP5+, supports invalid HTML, and provides a very easy way to find, extract and modify the HTML elements of the DOM. jQuery like syntax allow sophisticated finding methods for locating the elements you care about.…
CSS : Rotate icon on Hover
In this article, we are going to rotate an icon on mouse hover using CSS transform. The transform property applies a 2D or 3D transformation to an element. This property allows you to rotate, scale, move, skew, etc., elements. DEMO Full Source Code :…
Random Quotes Generator using PHP API
The following source code demonstrates a simple PHP API to get random quote. We simply need to make a GET request to the API endpoint : https://api.quotable.io/random and we will get a random quote in response. Full Source Code : <?php $api_url =…
Create Custom YouTube Playlist using PHP and JavaScript
The following source code enables us to create a custom playlist with just the videos that we want to play. Full Source Code : <link rel="stylesheet"…