Shubham Vora has Published 957 Articles

How to store data to DOM?

Shubham Vora

Shubham Vora

Updated on 05-Apr-2023 15:42:53

2K+ Views

Storing data in the DOM means storing data in plain text format. For example, we store data in the state variable while using React or any other reactive framework. When the user updates the data in the input field, it stores updated data in the state variable. So, we store ... Read More

How to show/hide div element depending multiple values using Bootstrap and jQuery?

Shubham Vora

Shubham Vora

Updated on 05-Apr-2023 15:40:04

3K+ Views

Sometimes, we may require to show and hide div based on the selected values. For example, you want to show the registration or login forms based on the radio button's selected value. Below, we will learn to show/hide the div elements based on the selected value using JQuery. Show/hide the ... Read More

How to show some custom menu on text selection?

Shubham Vora

Shubham Vora

Updated on 05-Apr-2023 15:37:29

841 Views

In some text editors, when you select the text, it shows the menu to edit texts and provides functionalities like justifying text, aligning text, increasing the text size, changing colour, etc. Microsoft word is the best example of it. In Microsoft word, when you select any text, it shows the ... Read More

Advantages of CoffeeScript Over JavaScript

Shubham Vora

Shubham Vora

Updated on 04-Apr-2023 12:32:16

286 Views

What is JavaScript? It is a loosely typed language that is mainly used in development. We can use javascript both in frontend as well as backend development. The nature of programs is synchronous and executed line by line. You can run javascript on any system or browser as it contains ... Read More

Features of Underscore.js

Shubham Vora

Shubham Vora

Updated on 17-Mar-2023 12:48:09

228 Views

Underscore.js is a lightweight library and compatible with all major browsers, as well as Node.js. It can be useful when working on projects involving a lot of data manipulation, as it provides several powerful tools for working with arrays and objects in JavaScript. Underscore.JS is a popular utility library; many ... Read More

Fastest way to convert JavaScript NodeList to Array

Shubham Vora

Shubham Vora

Updated on 17-Mar-2023 12:37:14

1K+ Views

In this tutorial, we will learn the fastest way to convert JavaScript NodeList to Array. NodeList is a similar structure to an array; it is a collection of DOM (Document Object Model) elements. However, array methods like ‘map( )’, ‘filter( )’, and ‘slice( )’ cannot be used on NodeList objects. ... Read More

Express Cookie-Parser – Signed and Unsigned Cookies

Shubham Vora

Shubham Vora

Updated on 17-Mar-2023 12:34:03

2K+ Views

We can use cookies to store the user information on the client side in the web browser. For example, whenever a user opens any website in the browser, it requests some information to the server, and once the client gets the information, it stores it in the browser with the ... Read More

Explosion Animation in Canvas

Shubham Vora

Shubham Vora

Updated on 17-Mar-2023 12:26:44

1K+ Views

In this tutorial, we will learn to create an explosion animation effect using canvas in HTML. Using canvas, we can draw graphics on a web page in an easy and powerful way. Let’s see some examples of creating explosion animation in canvas. Explosion Animation 1 We will create an explosion ... Read More

Explain V8 engine in Node.js

Shubham Vora

Shubham Vora

Updated on 17-Mar-2023 12:09:36

2K+ Views

We will learn about the V8 engine, Node.js, and the connection between V8 and Node.js. Overview of V8 JavaScript Engine V8 is a high-performance JavaScript engine developed by Google and used in Google Chrome, the open-source browser from Google. It was designed to improve the performance of web applications by ... Read More

Explain the role of callback function in AJAX

Shubham Vora

Shubham Vora

Updated on 17-Mar-2023 11:41:05

3K+ Views

AJAX (Asynchronous JavaScript and XML) is not a programming language but a technique for creating more interactive web applications. Unlike conventional web applications, which direct us to a new page when interacting with the server, AJAX loads data onto the screen without letting the user know that the request was ... Read More

Advertisements