Web Development Articles

Page 135 of 801

Tweening and animating HTML5 and JavaScript properties with Tween.js

Mukul Latiyan
Mukul Latiyan
Updated on 15-Jun-2023 771 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 to 1 for ...

Read More

Working with HTML5 Canvas Elements using Easel.js

Mukul Latiyan
Mukul Latiyan
Updated on 15-Jun-2023 412 Views

The popularity of HTML5 Canvas elements is well known, as they allow web developers to create animations, full-fledged applications, interactive charts as well. But sadly, it is very hard for someone to understand canvas, especially if he/she has come from the Flash animation background. In this tutorial, we will explore the Easel.js library, which allows us to work with HTML5 Canvas elements. The syntax of Easel.js is similar to ActionScript and it even has features like Display List, Stage, Graphics which ultimately makes the use of canvas easier for the Flash developers. Now that we have a little idea about ...

Read More

Validating a Form with Parsley.js

Mukul Latiyan
Mukul Latiyan
Updated on 15-Jun-2023 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 to use simple English inside your HTML tags, and Parsley will do the rest. There's no ...

Read More

TaffyDB – A JavaScript Database for Your Browser

Mukul Latiyan
Mukul Latiyan
Updated on 15-Jun-2023 665 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. Let's Start with a Simple Example Let's start with a very basic example in which we will create some data and then try to print that data on the browser. The first step for us is to have TaffyDB. For ...

Read More

Position Tooltips and Popovers using Popper.js

Mukul Latiyan
Mukul Latiyan
Updated on 15-Jun-2023 3K+ Views

Popper.js is a JavaScript library that is used when we want to build poppers and tooltips and manage them. It helps us in positioning tooltips and popovers in most modern web applications. In this tutorial, we will show how you can use Popper.js to position tooltips, but it should be noted that Popper is not just all about tooltips, yet is somewhat the foundation on which it is built. Let's Start with a Small Example Let's create a simple tooltip with a button to understand how we can use popper.js. The first step is to install popper.js on our machine. ...

Read More

How to create your first chart with FusionCharts.js?

Mukul Latiyan
Mukul Latiyan
Updated on 15-Jun-2023 680 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. Install from NPM You ...

Read More

Creating a Data Grid in JavaScript with Handsontable.js

Mukul Latiyan
Mukul Latiyan
Updated on 15-Jun-2023 885 Views

Handsontable is a JavaScript library that is used when we want to create a data grid. It provides a spreadsheet-like experience, pretty similar to Excel. In this tutorial, we will explain how you can use handsontable.js to create a data grid with your own data. In addition, we will see how to use different options available in handsontable.js. While there might be different spreadsheets like grid creators that you can use, the handsontable.js stands out from most of them because of its ability to work with vanilla JavaScript, React or Angular as well. Before you can start working with handsontable.js, ...

Read More

Auto-formatting Input Text Content with Cleave.js

Mukul Latiyan
Mukul Latiyan
Updated on 15-Jun-2023 944 Views

Auto-formatting is one of those features that are hard to implement but at the same time increases the userexperience 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 autoformat input ...

Read More

How to Draw Dynamic Animation in HTML5?

Tapas Kumar Ghosh
Tapas Kumar Ghosh
Updated on 08-Jun-2023 445 Views

HTML has division and button elements that can be used to draw Dynamic Animation. The ability to generate interactive and visually graphics using web technologies is referred to as dynamic animation in HTML5. HTML5 includes a number of complex tools that enable developers to build dynamic and responsive animations by combining HTML, CSS, and JavaScript. Animations extend from simple state transitions through complex interactive models and games. One of the primary advantages of implementing HTML5 for animation is that it is platform-independent and can run on a wide range of platforms, including desktop and mobile devices. HTML5 thus provides a strong tool ...

Read More

How to display Suggestions for input Field in HTML?

Tapas Kumar Ghosh
Tapas Kumar Ghosh
Updated on 08-Jun-2023 6K+ Views

HTML has a placeholder and required attribute inside the input elements that can be used to display the Suggestions for input Field in HTML. The input element in HTML specifies the input field where the user can fill the data. The placeholder attributes define the suggestion in the input box. Visual Representation of Input Field Suggestion Syntax The required is defined by a boolean attribute that specifies the input field must be submitted. The input element is used to create the user enter data. The placeholder attribute is defined by giving suggestions to the input ...

Read More
Showing 1341–1350 of 8,006 articles
« Prev 1 133 134 135 136 137 801 Next »
Advertisements