Tarun Singh has Published 103 Articles

How to create an ember handlebars template?

Tarun Singh

Tarun Singh

Updated on 02-May-2023 13:11:52

121 Views

Ember.js is a framework based on javascript that is widely used in building complex web applications. The framework allows developers to create single-page web applications that are scalable just by using some common idioms, best practices, and patterns from other single-page-app ecosystem patterns in the framework. Handlebars templating system ... 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

734 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

480 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 to select all children of an element except the last child using CSS?

Tarun Singh

Tarun Singh

Updated on 13-Apr-2023 14:10:18

8K+ Views

CSS is a commonly used to style web pages. While developing a web app, we sometimes require to apply different styles to different elements. And this common requirement is to select all children of an element except for the last child! Applying CSS makes it possible to select all children ... 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 ajax works? Difference between AngularJS and jQuery

Tarun Singh

Tarun Singh

Updated on 13-Apr-2023 13:55:43

249 Views

Ajax which stands for Asynchronous JavaScript and XML is a set of techniques used in web development that allow the web pages to update the data without refreshing the entire web page. It can load and display data dynamically and respond to user input simultaneously giving a seamless user experience. ... Read More

How to select all child elements recursively using CSS?

Tarun Singh

Tarun Singh

Updated on 13-Apr-2023 13:52:03

10K+ Views

CSS (or Cascading Style Sheets) is used in presenting and designing web pages. It is not used alone, rather it is used with HTML or XML for defining the appearance and layout of web pages. CSS helps developers in styling all the HTML elements including headings, paragraphs, text, images, tables, ... 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

4K+ 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

5K+ 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

Advertisements