Rohan Singh has Published 171 Articles

How to create a Switch in ReactJS?

Rohan Singh

Rohan Singh

Updated on 17-Jul-2023 19:17:36

1K+ Views

ReactJS is a popular JavaScript library for building user interfaces, and it provides an effective approach to developing interactive components. Toggle switches are frequently used to allow users to switch between a dark mode and a light mode theme in a web application. Toggle switches can also be used to ... Read More

How to create a slider to map a range of values in JavaScript ?

Rohan Singh

Rohan Singh

Updated on 17-Jul-2023 19:13:44

663 Views

In JavaScript, mapping a range of values to another range of values can be achieved through various approaches. One common method is by using a slider. A slider allows users to interactively select a value within a specified range and display the mapped value in real-time. In this article, we ... Read More

How to select ID that starts with certain character using jQuery ?

Rohan Singh

Rohan Singh

Updated on 17-Jul-2023 18:59:47

745 Views

jQuery is a popular JavaScript library that simplifies the process of traversing and manipulating HTML documents. In web development, one common requirement is to select elements with specific attributes or properties. In this article, we will explore how to select HTML elements whose IDs start with a certain character using ... Read More

How to create a Responsive Admin Dashboard using HTML CSS & JavaScript ?

Rohan Singh

Rohan Singh

Updated on 17-Jul-2023 18:57:29

8K+ Views

An admin dashboard provides important data insights and controls for managing various aspects of an application or website. In this article, we will explore the process of creating a responsive admin dashboard using the three pillars of web development: HTML, CSS, and JavaScript. Prerequisites To follow this article, ... Read More

Horizontal Concatenation of Multiline Strings in Python

Rohan Singh

Rohan Singh

Updated on 17-Jul-2023 18:47:15

652 Views

In Python, the concatenation of strings is a common operation that allows you to combine two or more strings into a single string. While concatenating strings vertically (i.e., one below the other) is straightforward, concatenating strings horizontally (i.e., side by side) requires some additional handling, especially when dealing with multiline ... Read More

Grouping Similar Elements into a Matrix Using Python

Rohan Singh

Rohan Singh

Updated on 17-Jul-2023 18:45:43

224 Views

In data analysis and processing, it is necessary to group similar elements together for better organization and analysis of data. Python provides several methods to group elements into a matrix efficiently, using matrices. In this article, we will explore different approaches to grouping similar elements into a matrix using Python. ... Read More

Group Sublists by another List using Python

Rohan Singh

Rohan Singh

Updated on 17-Jul-2023 18:44:09

368 Views

In Python, we can group sublists by another list using various methods like using a dictionary and using the itertools.groupby() function, using a nested list comprehension. Grouping sublists by another list can be useful when analyzing large datasets and categorization of data. It is also used in text analysis and ... Read More

Group Similar Start and End Character Words using Python

Rohan Singh

Rohan Singh

Updated on 17-Jul-2023 18:42:40

138 Views

In Python, we can group words with similar stat and end characters using methods like dictionaries and loops, utilizing regular expressions, and implementing list comprehensions.The task involves analyzing a collection of words and identifying groups of words that share common starting and ending characters. This can be a useful technique ... Read More

Group list by first character of string using Python

Rohan Singh

Rohan Singh

Updated on 17-Jul-2023 18:27:33

418 Views

In Python, we can group lists by the first character of a string using various methods like using a Dictionary, using itertools.groupby, using a Defaultdict, etc. This can be useful in various scenarios, such as organizing names or categorizing data. In this article, we will explore different approaches to group ... Read More

Group Keys to Values List Using Python

Rohan Singh

Rohan Singh

Updated on 17-Jul-2023 18:25:54

2K+ Views

Grouping keys to values is the process of categorizing data based on specific attributes or criteria. For example, imagine you have a dataset of students, and you want to group them by their grades. This grouping allows us to easily analyze and perform computations on each category separately. In Python, ... Read More

Previous 1 ... 6 7 8 9 10 ... 18 Next
Advertisements