- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- 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 8895 Articles for Front End Technology
![Saba Hilal](https://www.tutorialspoint.com/assets/profiles/624880/profile/60_1998435-1680172640.jpg)
1K+ Views
Sometimes, the task is to fetch a page from a subfolder and then to come back to the page in the parent folder. Using HTML code this process of providing a link to back out of a folder using a tags and href tags is demonstrated in this article. This is shown by using two different examples. In the first example, a text link with a relative path is used for coming back to the page of parent folder. In the second example, tag with the SVG link is used to back out of a folder. In this second ... Read More
![Nikesh Jagsish Malik](https://www.tutorialspoint.com/assets/profiles/640677/profile/60_624490-1681724234.jpg)
3K+ Views
Updating the state of a React component is an essential part of building interactive and dynamic web applications. State management can become challenging as components become more complex and nested. This article will cover how to update the state of React components using callback functions, providing you with two different approaches and working examples to make your development process smoother. Algorithm Understand the state management in React components Choose the right approach for updating the state Implement the chosen approach with code and explanations Provide working examples to demonstrate the usage of the approach Conclude with the benefits of ... Read More
![Nikesh Jagsish Malik](https://www.tutorialspoint.com/assets/profiles/640677/profile/60_624490-1681724234.jpg)
208 Views
When building web applications, developers often need to create buttons with dynamic styles. One of the most efficient ways to do this is by using the map() method in JavaScript. This method allows you to render multiple buttons with different styles based on their data. However, sometimes you might want to change the CSS class of a button dynamically based on user interaction or other events. In this article, we will discuss two different approaches to switch CSS class between buttons rendered with map() in JavaScript. Algorithm The algorithm to switch CSS class between buttons rendered with map() involves the ... Read More
![Nikesh Jagsish Malik](https://www.tutorialspoint.com/assets/profiles/640677/profile/60_624490-1681724234.jpg)
3K+ Views
What is Send Axios Delete? Deleting data from a backend using ReactJS and Axios can be a challenging task. However, with the right approach and knowledge, you can easily achieve this task. In this article, we'll explore how to send an Axios delete request to the backend in ReactJS using JavaScript. We'll cover two different approaches with code and explanations, as well as two working examples. So, let's dive in! Algorithm To commence our discourse, it is of utmost importance to apprehend the procedure for transmitting an Axios obliteration entreaty to the back end when utilizing ReactJS. Here are the ... Read More
![Nikesh Jagsish Malik](https://www.tutorialspoint.com/assets/profiles/640677/profile/60_624490-1681724234.jpg)
6K+ Views
In the current digital terrain, the act of making HTTP requests is a vital component in transmitting and receiving data between the client and server. Asynchronous requests have gained prevalence as they provide a non-blocking experience, which ultimately enhances the overall user experience. Nevertheless, there are certain situations where synchronous HTTP requests may prove necessary or preferable. In the ensuing narrative, we shall delve into the algorithm for creating synchronous HTTP requests using JavaScript. We will also explore two distinct approaches with their corresponding code explanations and practical applications. Algorithm To initiate synchronous HTTP requests in JavaScript, one must execute ... Read More
![Nikesh Jagsish Malik](https://www.tutorialspoint.com/assets/profiles/640677/profile/60_624490-1681724234.jpg)
1K+ Views
Dividing an integer is a mathematical operation where we divide a number into two parts, the quotient, and the remainder. In JavaScript, we use this operation to perform various calculations and to get the desired result. In this article, we will discuss how to find the quotient and remainder by dividing an integer in JavaScript. Algorithm The algorithm for dividing an integer in JavaScript is straightforward. We divide the number into two parts, the quotient, and the remainder. The quotient is the result of the division, and the remainder is the part of the number that is left over after ... Read More
![Nikesh Jagsish Malik](https://www.tutorialspoint.com/assets/profiles/640677/profile/60_624490-1681724234.jpg)
217 Views
It's always important to know when the 1st January falls on a Sunday in a range of years. This information can be used for various purposes, such as scheduling events, managing projects, and more. The purpose of this article is to help you find the 1st January falling on Sunday in a range of years in JavaScript. Algorithm The algorithm to find the 1st January falling on Sunday between a range of years involves several steps. The first step is to calculate the number of days between the current year and the year you want to find the 1st January ... Read More
![Aishwarya Mani Tripathi](https://www.tutorialspoint.com/assets/profiles/640681/profile/60_626769-1681724448.jpeg)
1K+ Views
JavaScript Program for Two Pointers Technique is a commonly used algorithmic approach to solve various problems that require linear time complexity. This technique is widely used to find a solution for problems that involve searching, sorting, or manipulating arrays, strings, or linked lists. The approach works by maintaining two pointers, one starting from the beginning and the other starting from the end of the data structure, and then iterating through them towards each other until a solution is found. In this tutorial, we will explore the concept of the Two Pointers Technique and how it can be implemented using ... Read More
![Aishwarya Mani Tripathi](https://www.tutorialspoint.com/assets/profiles/640681/profile/60_626769-1681724448.jpeg)
433 Views
In this tutorial, we will explore different ways to solve the problem using JavaScript. We will discuss various strategies and approaches that can be used to find the third largest element, and we will provide step-by-step explanations for each method. By the end of this tutorial, readers should have a solid understanding of how to approach this problem and find the third largest element in an array of distinct elements using JavaScript. Before we start, let's first understand what an array is. An array is a group of elements, and each element in the array is assigned a unique index. ... Read More
![Aishwarya Mani Tripathi](https://www.tutorialspoint.com/assets/profiles/640681/profile/60_626769-1681724448.jpeg)
220 Views
JavaScript program for Swapping Nodes in A Linked List Without Swapping Data is a familiar problem in web development that involves rearranging the order of nodes in a linked list. A linked list is a data structure that consists of nodes, each containing a piece of data and a reference to the next node in the list. In this article, we will learn a complete tutorial about swapping nodes in a linked list without swapping data using JavaScript. So let’s get started by defining swapping nodes first and then we move ahead in this tutorial. So, Keep learning! Swapping Nodes ... Read More