Rushi Javiya has Published 128 Articles

How to check whether or not a browser tab is currently active using JavaScript?

Rushi Javiya

Rushi Javiya

Updated on 10-Mar-2023 16:34:32

Users can open multiple tabs in the browser, and they can also check if any particular tab is currently active or not in the browser. For example, if you have given a proctored test, you can observe that it detects that tab is changed whenever you change the tab in ... Read More

How to check for two timestamps for the same day in JavaScript?

Rushi Javiya

Rushi Javiya

Updated on 10-Mar-2023 16:32:05

It never happens that you use JavaScript in developing your application, and you don’t use the Date object. The Date object is very important in JavaScript, which allows us to create and manipulate the date according to the developer’s requirements. In this tutorial, we will learn to check whether ... Read More

How to check if an object is empty using JavaScript?

Rushi Javiya

Rushi Javiya

Updated on 10-Mar-2023 16:30:55

In JavaScript, the object is the most important data type, and we require its most of the time while developing the application with the JavaScript framework. Sometimes, we need to check whether an object is empty and perform the operation based on the object value. For example, you are ... Read More

Higher Order Functions and Currying in JavaScript

Rushi Javiya

Rushi Javiya

Updated on 10-Mar-2023 16:28:56

In any programming language, functions are a very useful feature. Developers might be able to find any programming language which doesn’t contain the function. Also, when we start learning any programming language, we definitely learn the function, a block of code that provides the code reusability. In this tutorial, ... Read More

Hide the cursor on a webpage using CSS and JavaScript

Rushi Javiya

Rushi Javiya

Updated on 10-Mar-2023 16:27:22

In this tutorial, we will learn to hide the cursor in a webpage using CSS and JavaScript. Sometimes, we need to create our style cursor, and then we need to hide the cursor. Maybe it also needed to hide the cursor for a particular HTML element. There are two ... Read More

Handling Promise rejection with a catch while using await in JavaScript

Rushi Javiya

Rushi Javiya

Updated on 10-Mar-2023 16:25:24

In JavaScript, users can perform particular actions using the Promise. For example, we can create the promise to fetch data from the database using the API. If the promise gets the data from the database successfully, that means the promise is a success, or the promise gets an error, which ... Read More

How to use jQuery touch events plugin for mobiles?

Rushi Javiya

Rushi Javiya

Updated on 07-Mar-2023 13:47:30

JavaScript and jQuery contain various plugins, and every plugin contains a couple of functions. JavaScript plugin works as a library, and we can use its code directly in our code. The jQuery touch event plugin is also a library used to detect touch events in mobile devices and execute ... Read More

Identifiers and Keywords in Typescript

Rushi Javiya

Rushi Javiya

Updated on 07-Mar-2023 12:37:57

In this tutorial, we'll learn about identifiers and keywords in TypeScript. Identifiers and keywords are two fundamental concepts in TypeScript, a statically-typed superset of JavaScript. Identifiers are names we give to variables, functions, classes, and other things in our code. Keywords are special words with specific meanings in TypeScript and ... Read More

How to use SolverJS?

Rushi Javiya

Rushi Javiya

Updated on 07-Mar-2023 12:35:30

SolverJS is a comprehensive JavaScript package that provides a range of functions to help us solve common math problems. We know that web applications often require complex logic to function properly, and these logical solutions can easily become long and difficult to manage. This is where Solver JS comes in ... Read More

How to use Ejs in JavaScript?

Rushi Javiya

Rushi Javiya

Updated on 07-Mar-2023 12:33:21

EJS is a templating language that allows us to generate HTML markup using plain JavaScript. It provides a simple and intuitive way to generate dynamic content in our web applications, making it easier to manage and organize our code. EJS is easy to use and can be integrated into any ... Read More

Advertisements