Mukul Latiyan

Mukul Latiyan

363 Articles Published

Articles by Mukul Latiyan

Page 5 of 37

Web Components: Building Custom Elements with JavaScript

Mukul Latiyan
Mukul Latiyan
Updated on 15-Mar-2026 569 Views

Web components are a powerful tool for building reusable and encapsulated UI elements in web applications. They allow developers to create custom elements with their own markup, style, and behavior, which can be easily reused across different projects and shared with other developers. In this article, we will explore the fundamentals of web components and learn how to build custom elements using JavaScript. What are Web Components? Web components are a set of web platform APIs that allow you to create reusable, encapsulated, and composable UI elements. They consist of three main specifications: Custom Elements, Shadow DOM, and ...

Read More

Creating a Data Grid in JavaScript with Handsontable.js

Mukul Latiyan
Mukul Latiyan
Updated on 15-Mar-2026 891 Views

Handsontable is a JavaScript library that provides a spreadsheet-like data grid experience, similar to Excel. It works with vanilla JavaScript, React, and Angular, making it versatile for different project types. In this tutorial, we will create a data grid using Handsontable.js and explore its configuration options. Installation There are several ways to include Handsontable in your project. The simplest approach is using CDN links in your HTML tag: For npm installations, use: npm install handsontable Or with Yarn: yarn add handsontable Then include ...

Read More

Tweening and animating HTML5 and JavaScript properties with Tween.js

Mukul Latiyan
Mukul Latiyan
Updated on 15-Mar-2026 784 Views

Tween.js is a JavaScript library that is mainly used when we want to tween or animate an HTML5 or JavaScript property. It can work standalone as well as when integrated with Easel.js. In this tutorial, we will learn how we can make use of Tween.js with the help of a few examples. Before we go on to the main example, let's first discuss a few simple tweens so that when we use them in the main example, you don't get overwhelmed. Simple Tween In this tween, we will tween the alpha property of the target from 0 ...

Read More

Auto-formatting Input Text Content with Cleave.js

Mukul Latiyan
Mukul Latiyan
Updated on 15-Mar-2026 948 Views

Auto-formatting is one of those features that are hard to implement but at the same time increases the user experience a lot. There are different JavaScript libraries that one can use when they want to auto-format the input text content, but the most popular of them is Cleave.js. Cleave.js is a JavaScript library that is mainly used when we want to format the input text content and it works very smoothly. It is very lightweight and easy to get started with. In this tutorial, we will take a couple of examples to demonstrate how you can use Cleave.js to ...

Read More

How to create your first chart with FusionCharts.js?

Mukul Latiyan
Mukul Latiyan
Updated on 15-Mar-2026 688 Views

FusionCharts is a JavaScript library that you can use when you want to create charts and maps and put them in your web application. In this tutorial, we will show how you can use FusionChart.js to create two different charts. Before we learn how to create charts, the first important thing is to know how we can install FusionCharts onto our local machines. Installing FusionCharts There are multiple ways with which we can install FusionCharts. Using CDN You can use the CDN link given below to directly gain access to the files of FusionCharts. ...

Read More

Position Tooltips and Popovers using Popper.js

Mukul Latiyan
Mukul Latiyan
Updated on 15-Mar-2026 3K+ Views

Popper.js is a JavaScript library used to build and manage poppers, tooltips, and popovers in web applications. It provides powerful positioning capabilities that automatically handle edge detection and placement calculations. In this tutorial, we'll create an interactive tooltip using Popper.js. Setting Up Popper.js First, include Popper.js in your project. We'll use the CDN version for simplicity: Basic HTML Structure Create a button element (reference) and a tooltip element (popper). The tooltip will be positioned relative to the button: Popper Tooltip Example ...

Read More

Validating a Form with Parsley.js

Mukul Latiyan
Mukul Latiyan
Updated on 15-Mar-2026 2K+ Views

In this tutorial, we will show how you can use Parsley.js, which is a JavaScript library that is mainly used to validate forms. Parsley helps in validating the forms in a very subtle and easy manner, and it is one of the widely used form validation libraries out there. Features of Parsley.js There are plenty of reasons why Parsley is a good choice for validating your JavaScript forms. Some of them are mentioned below. Intuitive DOM API − The DOM API allows you ...

Read More

Working with HTML5 Canvas Elements using Easel.js

Mukul Latiyan
Mukul Latiyan
Updated on 15-Mar-2026 419 Views

The popularity of HTML5 Canvas elements is well-known, as they allow web developers to create animations, full-fledged applications, and interactive charts. However, working with canvas can be challenging, especially for developers coming from a Flash animation background. In this tutorial, we will explore the Easel.js library, which simplifies working with HTML5 Canvas elements. The syntax of Easel.js is similar to ActionScript and includes familiar features like Display List, Stage, and Graphics, making canvas development more accessible for Flash developers. Installing Easel.js The first step is to import Easel.js into your project. The easiest way is using the ...

Read More

TaffyDB – A JavaScript Database for Your Browser

Mukul Latiyan
Mukul Latiyan
Updated on 15-Mar-2026 670 Views

TaffyDB is a lightweight and powerful in-memory database that can be used in both browser and server-side applications. It is open-source and free to use. In this tutorial, we will take a couple of examples to show how you can use TaffyDB to store some data, execute some queries on the data, and also perform important operations on the data. Getting Started with TaffyDB The first step is to include TaffyDB in your project. You can use the CDN link or download the library directly from the official repository. Basic Example - Creating and Reading Data ...

Read More

Logging HTTP Requests and Errors using Morgan.js

Mukul Latiyan
Mukul Latiyan
Updated on 15-Mar-2026 2K+ Views

Morgan is a middleware for Node.js that simplifies HTTP request logging in Express applications. It automatically captures and formats request information, eliminating the need to write custom logging code manually. Morgan helps gather logs from your server and prepares them for analysis. It provides many predefined formats and customization options, making it suitable for both small and large projects. Installing Morgan Install Morgan using npm: npm install morgan Then import it into your application: const morgan = require('morgan') Basic Usage Example Here's a simple Express application using Morgan ...

Read More
Showing 41–50 of 363 articles
« Prev 1 3 4 5 6 7 37 Next »
Advertisements