Found 10711 Articles for Web Development

How to build custom form controls using HTML?

Asif Rahaman
Updated on 17-Apr-2023 14:35:11

239 Views

Forms components are one of the essential parts of web applications. The forms are used in the contact us pages, application page, etc. HTML offers us many different ways and options to customize the setups. This includes textarea, input, checkboxes, etc. This article will explain how to build a custom form control using HTML. Custom From Control Using HTML and CSS We can use only HTML and CSS to create a custom form control. However, more is needed to interact with the backend application with JavaScript. But still, we can create all the front-end effects using only HTML and ... Read More

How to break a line without using br tag in HTML / CSS?

Asif Rahaman
Updated on 24-Nov-2023 01:19:59

2K+ Views

Introduction Breaking a line without using the tag in HTML / CSS can be useful in situations where you want to create space between elements, but don't want to add a new line of text. There are a few different ways to achieve this effect using CSS, which we'll explore in this article. Before HTML5 and CSS programmers often used the tag. However, now we have much better techniques and in fact, the usage of is obsolete nowadays. In this article, we shall learn how to break lines without using the tag in HTML and CSS ... Read More

How to blend elements in CSS?

Asif Rahaman
Updated on 17-Apr-2023 14:30:05

155 Views

Introduction Blending elements in CSS is a technique used to create interesting visual effects and enhance the design of a web page. With the mix-blend-mode property in CSS, you can control how an element blends with the content below it. In this article, we'll explore how to use mix-blend mode to blend elements in CSS. Understanding Mix-Blend-Mode mix-blend-mode is a CSS property that allows you to set the blending mode for an element. Blending modes determine how two elements blend together, with different modes producing different visual effects. By default, an element in CSS will have a blending mode of ... Read More

How to automatically transfer visitors to a new web page?

Asif Rahaman
Updated on 17-Apr-2023 14:26:01

686 Views

As a website owner or developer, there may be times when you need to automatically transfer visitors to a new web page. Whether it's because you've moved a page to a new URL or want to redirect visitors to a different section of your site, there are a few different methods you can use to achieve this. In this article, we'll explore the different types of redirects you can use to automatically transfer visitors to a new web page, and provide examples of how to implement each one. Meta Refresh Redirects One of the easiest ways to redirect visitors to ... Read More

JavaScript Program for Range sum queries for anticlockwise rotations of Array by K indices

Prabhdeep Singh
Updated on 14-Apr-2023 17:15:00

112 Views

Anticlockwise rotation of an array means rotating all the elements of the given array to their left side by the given number of indexes. In this article, we will implement a JavaScript program for range sum queries for anticlockwise rotations of the array by k indices. Introduction to Problem In this problem, we are given an array that will contain some integers and another array that will contain the values in the pairwise form. Each pair will be the number of rotations we need for the current query and after a given number of rotations, we will be given a ... Read More

JavaScript Program for Range LCM Queries

Prabhdeep Singh
Updated on 14-Apr-2023 17:11:10

103 Views

LCM stands for the lowest common multiple and the LCM of a set of numbers is the lowest number among all the numbers which are divisible by all the numbers present in the given set. We will see the complete code with an explanation for the given problem. In this article, we will implement the JavaScript program for a range of LCM queries. Introduction to Problem In this problem, we are given an array that will contain integers and another array queries that will contain pairwise numbers representing the range from the given array we have to calculate the LCM ... Read More

JavaScript Program for Quicksort On Singly Linked List

Prabhdeep Singh
Updated on 14-Apr-2023 17:10:12

216 Views

The Singly-linked list is a linear data structure that consists of nodes. Each node contains the data and the pointer to the next node which contains the memory address of the next node because the memory assigned to each node is not continuous. Sorting is a technique by which we make all the elements of a particular data structure such as a linked list, array, vector, etc in a properly sorted manner in either increasing or decreasing order (if not specified in increasing order). We will see the proper code and the explanation in this article. Introduction to Problem ... Read More

JavaScript Program for Queries to find the maximum sum of contiguous subarrays of a given length in a rotating array

Prabhdeep Singh
Updated on 14-Apr-2023 17:08:08

102 Views

Rotating array means we will be given a number and we have to move the elements of the array in cyclic order in either the right or left direction. Here we are not specified so we will use the right rotation as the standard and after the given number of rotations, we will return the subarrays with the maximum sum. We will see the code with the proper explanation in the article. Introduction to Problem In this problem, we are given an array that contains the integers and another array that contains the pairs of queries. Each index of the ... Read More

JavaScript Program for Queries for rotation and Kth character of the given string in constant time

Prabhdeep Singh
Updated on 14-Apr-2023 17:06:10

102 Views

Rotation of the given string means moving the characters of the given string in clockwise or anticlockwise manner by some indexes. Here, we will implement a JavaScript program for queries for rotation and kth character of the given string in the constant time. In this article we will implement the proper code and explain each step. Introduction to Problem In the given problem, we are given by a string which contains some characters in it. We are given by some limited queries and each query contains two numbers or integers. First integer represents the number of times we have to ... Read More

JavaScript Program for Program to cyclically rotate an array by one

Prabhdeep Singh
Updated on 14-Apr-2023 17:05:38

222 Views

Cyclic rotation means shifting the value present at each index to their left or right by one and for one corner it takes the value present at the other corner. For the left rotation the value present at the first index will go at the last index and for all indexes takes the value present at the index which is present after them. In the right rotation, the thing is exactly the opposite to the left rotation. In this article, we will see the proper code with implementation to perform the rotations on the array. Introduction to Problem In the ... Read More

Advertisements