Tarun Singh has Published 90 Articles

How to style a href links in React using Tailwind CSS?

Tarun Singh

Tarun Singh

Updated on 02-May-2023 13:55:12

1K+ Views

React is a popular JavaScript library used for building web applications. When creating a React application, it's important to style your components in an aesthetically pleasing way. One of the ways to achieve this is by using a CSS framework such as Tailwind CSS. In this article, we will ... Read More

How to specify that the form should not be validated when submitted in HTML?

Tarun Singh

Tarun Singh

Updated on 02-May-2023 13:44:39

922 Views

The element is an essential component available in HTML that enables us to create interactive sections on websites like Contact forms, Login forms, etc. Through the form element, users can input and submit data to web servers. The element is versatile and may include a number of different ... Read More

How to create an Asynchronous function in JavaScript?

Tarun Singh

Tarun Singh

Updated on 13-Apr-2023 14:28:39

2K+ Views

A JavaScript asynchronous function is a function that runs independently of the main flow of the program. This allows the program continues executing other code while the async function is running. Async is used to declare an async function, which runs asynchronously, and await is used to pause the execution ... Read More

How to select all links inside the paragraph using jQuery?

Tarun Singh

Tarun Singh

Updated on 13-Apr-2023 14:26:17

1K+ Views

jQuery is a popular JavaScript library that simplifies HTML DOM traversal, event handling, and AJAX interactions for rapid web development. It offers a wide range of built-in functions and methods that help developers to manipulate HTML elements, styles, and behaviors dynamically. In this article, we will see how to ... Read More

How to select all even/odd rows in a table using jQuery?

Tarun Singh

Tarun Singh

Updated on 13-Apr-2023 14:22:11

887 Views

Working with tables is a very common task when it comes to developing web applications. And sometimes we may need to select a specific row from a table. Let’s say we want all the even or odd rows, but how to do that? In this article, we will see how ... Read More

How Blazor Framework is Better Than JavaScript Frameworks?

Tarun Singh

Tarun Singh

Updated on 13-Apr-2023 14:06:19

2K+ Views

Web development is a rapidly evolving field, and Microsoft's Blazor framework is one of the latest entrants in the arena. Blazor is a client-side web framework that allows developers to build web applications using C# and .NET instead of JavaScript. While JavaScript frameworks like Angular, React, and Vue.js have been ... Read More

How to create an array with multiple objects having multiple nested key-value pairs in JavaScript?

Tarun Singh

Tarun Singh

Updated on 13-Apr-2023 13:48:57

6K+ Views

JavaScript is a versatile language that is widely used for creating dynamic web applications. One of the most common data structures used in JavaScript is the array. An array is a collection of elements that can be of any type, including objects. In this article, we will discuss how to ... Read More

How to create an array with random values with the help of JavaScript?

Tarun Singh

Tarun Singh

Updated on 23-Feb-2023 14:02:59

7K+ Views

We can use JavaScript Math.random() method to generate random values. JavaScript provides us with different Array methods, such as from(), fill(), and push(), that can be used to create an array with random values. Arrays in JavaScript are a powerful feature that allows you to store a collection of values ... Read More

How to create an array of partial objects from another array in JavaScript?

Tarun Singh

Tarun Singh

Updated on 23-Feb-2023 13:58:54

11K+ Views

Arrays are one of the most commonly used data types in JavaScript. They are used to store collections of data and allow for efficient access and manipulation of data. Arrays can contain any type of data, including primitive values, objects, and even other arrays. The technique of creating an array ... Read More

How can a page be forced to load another page in JavaScript?

Tarun Singh

Tarun Singh

Updated on 23-Feb-2023 13:57:25

7K+ Views

In JavaScript, we can use window.location object to force a page to load another page. We can use the location object to set the URL of a new page. There are different ways – window.location.href property, window.location.assign() and window.location.replace() methods, to set the URL of a new page using the ... Read More

Previous 1 ... 5 6 7 8 9
Advertisements