Shubham Vora has Published 957 Articles

Explain the MUL() function in JavaScript

Shubham Vora

Shubham Vora

Updated on 17-Mar-2023 11:25:32

807 Views

In this tutorial, we will learn to implement MUL() function in JavaScript. This function is a very small kind of multiplication function. Basically, we use the concept of nested functions to implement MUL( ) function. Nested functions are used for creating closures and decorators. And we can achieve privacy using ... Read More

How to use Selenium Web Driver and JavaScript to Login any website?

Shubham Vora

Shubham Vora

Updated on 07-Mar-2023 14:08:52

2K+ Views

Nowadays, automation is very useful for testing the application. Many automation tools are available, and Selenium is one of them, developed in 2004. Also, it is a crossplatform tool, so we can use Selenium with most programming languages, and here we will use it with JavaScript. Users need to ... Read More

How to create a domain name finder app in ReactJs?

Shubham Vora

Shubham Vora

Updated on 06-Mar-2023 15:30:16

575 Views

An online application that enables users to look for accessible domain names using keywords or phrases can be called a domain name finder. It is a helpful tool for companies and individuals wishing to register a new domain name for their websites. Users of this software can look up domain ... Read More

How to validate Passport Number is ReactJS?

Shubham Vora

Shubham Vora

Updated on 06-Mar-2023 15:28:32

5K+ Views

Passport number is very sensitive data, and it always requires to validate. For example, you are taking the user’s data for their identification, and you can use the passport number to validate the user’s identity. Sometimes, the user may enter the wrong passport number. However, you must need to ... Read More

How to validate Octal number in ReactJS?

Shubham Vora

Shubham Vora

Updated on 06-Mar-2023 15:09:07

575 Views

There are various types of number representation available such as decimal, hexadecimal, binary, octal, etc. The octal number is a number value by taking the base-8, and it accepts only numbers between 0 to 8. Here, we will learn to validate the octal number. We need to check that ... Read More

How to validate a credit card number in ReactJS?

Shubham Vora

Shubham Vora

Updated on 06-Mar-2023 15:07:40

4K+ Views

When a bank issue any credit or debit card number, they don’t generate the random numbers for the card. They follow some rules to issue a new card number. They first validate the card number using the Luhn algorithm and check if it starts with a particular number. Here, ... Read More

How to use Typescript with native ES6 Promises?

Shubham Vora

Shubham Vora

Updated on 06-Mar-2023 15:04:56

2K+ Views

In the ES6 version of ECMAScript, promises are introduced for the first time. To use the ES6 promises in the TypeScript project, users need to modify the tsconfig.json file. Add the below code inside the ‘compilerOptions’ object. { "compilerOptions": { ... Read More

How to use TextField Component in Material UI?

Shubham Vora

Shubham Vora

Updated on 06-Mar-2023 15:00:03

4K+ Views

The Material UI library provides various react components, and TextField is one of them. We can use the TextField component to take user input and use it inside the form. Whatever operation we can perform with the HTML input field, we can also perform with the TextField component. For example, ... Read More

How to use Slider Component in Material UI?

Shubham Vora

Shubham Vora

Updated on 06-Mar-2023 14:57:46

2K+ Views

The slider is an important feature for any application to improve the UX of the application. For example, if you want to allow users to choose any value between 1 to 100, it would be better to use the slider than the custom number input field. The Material UI ... Read More

How to use Regex to get the string between curly braces using JavaScript?

Shubham Vora

Shubham Vora

Updated on 06-Mar-2023 14:52:37

6K+ Views

We can create a regular expression so it can find all the substrings between the curly braces. After that, we can use the exec() or match() method to extract the matching substring. In this tutorial, we will learn to use a regular expression to get the string between curly ... Read More

Advertisements