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 { from,... 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"> function generateColor(){ length = 6; var chars =... Read more

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 { background:#000; width: 100%; min-height: 100vh; display: flex; align-items: center; justify-content:... Read more

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 News Ticker using JQuery Plugin</title> <style... Read more

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... 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 other in off state. You can use the... Read more

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 instantly upon user interaction... Read more

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; background-color: #333333; } </style>... Read more

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 src="https://kit.fontawesome.com/a062562745.js" crossorigin="anonymous"></script> <title>MP3 Player</title> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>... Read more

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.... Read more

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... Read more

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... Read more

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 :... Read more

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" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-alpha.4/css/bootstrap.min.css"/> <style type="text/css"> body{ background: #ddd; } .head{ margin-top:20px; margin-bottom: 20px; font-weight: bold;... Read more

Animated Card Slider using jQuery

In this article, we are going to design an animated card slider with next/previous button using jQuery. The following source code provides us with a card slider UI design with next and previous button. The basic idea is to allow... Read more