Mukul Latiyan

Mukul Latiyan

363 Articles Published

Articles by Mukul Latiyan

Page 6 of 37

Voca: The Ultimate Javascript library for String Manipulation

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

Voca is a powerful JavaScript library designed specifically for string manipulation. In this tutorial, we will explore multiple examples demonstrating how to use the different functions available in Voca. Features of Voca Before we see all the examples, let's highlight some features that Voca brings to the table − It provides a multitude of functions that can be used to manipulate, query, escape, format strings. It also provides detailed and searchable documentation. It supports a wide range of environments like Node.js, Safari 7+, Chrome, ...

Read More

Adding a Carousel to Your Site with Slick.js

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

In this tutorial, we will demonstrate how to use Slick.js to create responsive carousels for your websites. We'll start with a basic image carousel and then explore various customization options to enhance its functionality. If you try to create a carousel without using any libraries, it will be quite time-consuming. To reduce the effort and add multiple types of carousels with different properties, you can use Slick.js. Slick.js is a widely used jQuery plugin that allows us to create responsive carousels with multiple attributes and different properties. Features of Slick.js There are multiple reasons why Slick.js ...

Read More

Adding Animations on Scroll with HTML, CSS and AOS.js

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

AOS.js (Animation on Scroll) is a lightweight JavaScript library that makes it easy to add scroll-triggered animations to web pages. By simply adding CSS classes and data attributes to HTML elements, you can create engaging visual effects without writing complex JavaScript code. In this tutorial, we will explore different types of animations available in AOS.js, including fade, flip, and zoom effects, along with practical examples. Setting Up AOS.js Before using AOS.js, you need to include the CSS and JavaScript files in your HTML document. Add the following CDN link in the section: ...

Read More

Adding Animations to a Webpage using Velocity.js

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

Animations have become a very integral part of website interfaces in today's web development world. They help in enhancing the user experience of a website and in this article, we will learn how we can make use of Velocity.js to add beautiful animations to our web pages. VelocityJS is a JavaScript animation engine that provides us with very fast performing animations that we can use in our web pages. It has become one of the leading animation engines and there are different reasons for its success. I have mentioned some of the most important reasons that make it a ...

Read More

Building a Text Editor using Quill.js

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

Quill is a free and open-source WYSIWYG (What You See Is What You Get) text editor built for modern web applications. It offers a highly customizable interface with an expressive API, making it easy to integrate rich text editing capabilities into your projects. In this tutorial, we'll explore how to build text editors using Quill.js through practical examples, from basic setup to advanced customization. Setting Up Quill.js To get started with Quill, include the CSS and JavaScript files in your HTML document's section: The first link provides the CSS styling, ...

Read More

Advanced JavaScript Animation Techniques using CSS and JavaScript Libraries

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

As web development continues to evolve, creating engaging and interactive user experiences has become an essential part of modern web applications. From subtle micro-interactions to complex visual effects, animations play a crucial role in capturing the attention of users and conveying information in a dynamic and visually appealing manner. JavaScript, in combination with CSS and various JavaScript libraries, offers powerful techniques for creating advanced animations on the web. In this article, we will delve into the world of advanced JavaScript animation techniques, exploring how CSS transitions and JavaScript libraries can be harnessed to bring your web animations to life. ...

Read More

What does # mean in Lua programming?

Mukul Latiyan
Mukul Latiyan
Updated on 11-Mar-2026 951 Views

The unary operator # is known as the Length operator in Lua. It is used almost everywhere in Lua. By everywhere, I meant that anywhere we would require to calculate the length of the any string or can also be used in tables also, but when it comes to table, it is generally not preferred to use the # operator as it doesn’t calculate the number of elements present inside the table.Let’s explore different examples of the length operator to understand how we can make use of it.ExampleConsider the example shown below −print(#"abcdefg") print(#{"a", "b", "c", 77})Output7 4In the above ...

Read More

What does operator ~= mean in Lua?

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

The ~= symbol or operator in Lua is known as the not-equal to operator. In many programming languages you might have seen the symbol != which is also known as the not equals operator.Let’s consider a few examples where we can make use of the not equals operator.ExampleConsider the examples shown below −a = 2 b = 3 print(a ~= b)OutputtrueExamplet1 = {4,2,3} t2 = {2,3,4} print(t1 ~= t2)Outputtrue

Read More

What is the difference between pairs() vs. ipairs() in Lua?

Mukul Latiyan
Mukul Latiyan
Updated on 11-Mar-2026 11K+ Views

In Lua, we make use of both the pairs() and ipairs() function when we want to iterate over a given table with the for loop. Both these functions return key-value pairs where the key is the index of the element and the value is the element stored at that index table.While both of them have some similarities, it is also good to know that they have some very notable differences that we should be aware of.The first difference between the pairs() and ipairs() function is that the pairs() function doesn’t maintain the key order whereas the ipairs() function surely does.ExampleConsider ...

Read More

Why do Lua arrays (tables) start at 1 instead of 0?

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

Yes, the arrays in Lua start with index 1 as the first index and not index 0 as you might have seen in most of the programming languages.ExampleConsider the example shown below −arr = {10, 11, 12, 13, 14} print(arr[0]) print(arr[1])In the above example, we are printing the values at indices 0 and 1, and by default, the value at the 0 index will be nil, as in Lua, the arrays start indexing from 1, not 0.Outputnil 10So, now we know that the arrays are 1-index based not 0-index based. But, wait, why 1-index and 0-index?Actually, there have been several ...

Read More
Showing 51–60 of 363 articles
« Prev 1 4 5 6 7 8 37 Next »
Advertisements