Shubham Vora has Published 957 Articles

How to use Radio Component in Material UI?

Shubham Vora

Shubham Vora

Updated on 06-Mar-2023 14:22:09

2K+ Views

The radio button is used to allow users to choose any one value among a group of values. For example, the best use case of the radio button is allowing users to choose a gender in the form. The material UI provides the pre-designed Radio component, which we can ... Read More

How to use Particle.js in JavaScript project?

Shubham Vora

Shubham Vora

Updated on 06-Mar-2023 12:43:35

2K+ Views

As the name suggests, the Particle.js library allows us to add particles to a particular HTML element. Also, we can change the shape of the particles number of particles in the div. We can add animation or motion to particles using the Particle.js library. Here, we will learn to change ... Read More

How to sorting an array without using loops in Node.js?

Shubham Vora

Shubham Vora

Updated on 06-Mar-2023 12:38:44

1K+ Views

In Node.js, a built-in sort() method is available to sort an array without a headache. However, as a beginner to learn how the sort() method works internally, users should learn various sorting algorithms. In this tutorial, we will learn a different algorithm to sort an array without using loops ... Read More

How to create a dynamic search box in ReactJS?

Shubham Vora

Shubham Vora

Updated on 06-Mar-2023 12:02:41

4K+ Views

Search is one of the most important functionalities of the website. It allows users to filter products and search for specific things on the website, reducing the time users find particular things on the website. For example, you can see a search bar at the top of this page. ... Read More

How to write a simple code of Memoization function in JavaScript?

Shubham Vora

Shubham Vora

Updated on 01-Mar-2023 10:46:23

408 Views

Memoization is the optimization technique to improve the performance of the function. Before we start with the memoization technique, let’s understand why we require it using the example below. Example (Naïve approach to finding Fibonacci number) In the example below, we have implemented the naïve approach to find the ... Read More

How to use polyfill in JavaScript?

Shubham Vora

Shubham Vora

Updated on 01-Mar-2023 10:38:38

2K+ Views

The developers of JavaScript always keep adding new features to the JavaScript language to improve performance and add better functionalities. Sometimes, it happens that new features don’t support by the old browser versions. For example, the exponential operator is introduced in ES7, and the trailing comma in the object is ... Read More

How to write and use for loop in Vue js?

Shubham Vora

Shubham Vora

Updated on 28-Feb-2023 17:43:53

8K+ Views

Vue JS is an open-source JavaScript framework. It is used to create single-page apps and user interfaces. The component-based architecture of Vue Js uses separated, reusable elements called components to encapsulate HTML, JavaScript, and CSS. This enables the usage of a virtual DOM to boost performance while also helping efficient ... Read More

How to use routing in Vue.js?

Shubham Vora

Shubham Vora

Updated on 28-Feb-2023 17:42:09

582 Views

The process of assigning URLs to components in the Vue.js app is known as routing. Installing the Vue-router library and importing it into the Vue instance are prerequisites for implementing routing. Then, the user must specify the components displayed for each route in a different router.js file after defining a ... Read More

Implement polyfill for String.prototype.trim() method in JavaScript

Shubham Vora

Shubham Vora

Updated on 28-Feb-2023 17:40:45

394 Views

Some old versions of the browsers or old browsers themselves don’t support the newly evolved features of JavaScript. For example, if you are using a very old browser version, it doesn’t support the features of the ES10 version of JavaScript. For example, some versions of the browser don’t support Array.falt() ... Read More

Implement polyfill for Array.prototype.reduce() method in JavaScript

Shubham Vora

Shubham Vora

Updated on 28-Feb-2023 17:35:08

1K+ Views

The polyfill is a concept to extend the browser's features using user-defined methods. If the user’s browser is not updated, it can happen that browser doesn’t support the newer features of any programming language, such as JavaScript. As a developer, we require to check whether the feature is supported ... Read More

Advertisements