
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Found 8591 Articles for Front End Technology

227 Views
To check if a string can be formed from another string by at most X circular clockwise shifts, we can calculate the difference of ASCII value of the characters and then compare it with the X. Circular clockwise shifts for the string mean rotating the characters of the string to their next character in alphabetic order. In this article, we are given with a string, target and a number which represent the number of circular shifts to be made. Our task is to write a JavaScript program to check if the target can be formed from the string by at ... Read More

250 Views
A doubly linked list is a linear data structure where each node stores the address of the next and previous node. We have given a doubly linked list and we have to rotate the doubly linked list by N nodes and print it. Here N is the positive number and less than or equal to the count of the nodes present in the linked list. We are not given the specific side to rotate the doubly linked list. So we will rotate the doubly linked list in both ways. Rotating Doubly Linked List to Counter Clockwise We have to rotate ... Read More

304 Views
To check if a string can be obtained by rotating another string by 2 places, we have used Javascript substr() method. We will be understanding the code with an example and step wise explanation of the code. In this article we are having two strings: str1 and str2, where str1 is the given string and str2 is the rotated string. Our task is to check if the string (str2) can be obtained by rotating another string (str1) by 2 places. Example Input: str1 = TutorialsPoint str2 = torialsPointTu Output: true (with 2 left rotations) Input: ... Read More

195 Views
Rotating a string means moving the characters of the string to their left or right side by one index and one end may contain the value stored at the other end. We will be given two strings and we have to rotate the second string either in the left or the right direction by given number (d) times and check if both strings are equal or not. We will write proper code with comments, explanations, and detailed discussions on the time and space complexity of the program. Examples If we have the given string ‘abcdef’ and the other string is ... Read More

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 select all links inside a paragraph using jQuery. Selecting links inside a paragraph is a common requirement when we want to modify the links in a particular section of our website, such as changing styles, finding links, etc. How to select all links inside the paragraph? Selecting links inside the ... Read More

808 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 to select all even/odd rows in a table with jQuery. Approaches to select all even/odd rows in the table To select all even rows in a table using jQuery, we have different approaches to achieve this task. Below we have discussed the three approaches that are commonly used in ... Read More

13K+ Views
To select all children of an element except the last child using CSS we will be understanding two different approaches. Each approach will be using CSS pseudo-class selectors to perform the required task. In this article, we'll see how to select all children of an element except the last child in CSS with different approaches. We will be discussing each approach in detail with examples that will help you understand how they work. Approaches to Select all Children of an Element Except the Last Child Here is a list of approaches to select all children of an element except ... Read More

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 of the function until a specific asynchronous task is achieved. Method to create an Asynchronous function Using async keyword The simplest way to create an asynchronous function is to use the async keyword before the function declaration. See the below syntax − Syntax async function fetchData() { ... Read More

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 popular choices for web development for many years, Blazor offers some unique advantages that make it an attractive alternative. In this article, we will discuss how blazor framework may be considered better than JavaScript frameworks, including language familiarity, rendering, code sharing, tooling, security, etc. We’ll also know about the ... Read More

13K+ Views
To select all child elements recursively using CSS, we have used universal selector(*) with parent selector. In this article we are having eight paragraph elements out of which six are wrapped inside div container, our task is to select all child elements recursively using CSS. Steps to select all child elements recursively using CSS We will be following below mentioned steps to select all child elements recursively using CSS: We have used eight paragraph elements and six paragraph elements are wrapped inside div container. All the six paragraph elements are direct child elements ... Read More