Nikhilesh Aleti has Published 93 Articles

How div class and id is useful in HTML ?

Nikhilesh Aleti

Nikhilesh Aleti

Updated on 04-Aug-2023 16:46:50

218 Views

The HTML tag represents a division or section in an HTML document. This tag is used as a container, inside this we can embed any of the HTML elements (such as texts, images, tables, audio, video, etc.). If we want to style or interact with the element, we ... Read More

Difference between linking an image, website, and email address in HTML

Nikhilesh Aleti

Nikhilesh Aleti

Updated on 04-Aug-2023 16:41:19

230 Views

In this article, we are going to discuss the difference between linking an image, website, and email address in HTML. To link or embed an image into a website, the tag is used. To link a website, we use anchor tag with href (hypertext reference) attribute. To ... Read More

Explain the basic table in Bootstrap

Nikhilesh Aleti

Nikhilesh Aleti

Updated on 04-Aug-2023 16:21:06

91 Views

In general, table is a structured representation of data which is organized into rows and columns. Tables are commonly used in various contexts such as database systems, spreadsheets, and HTML websites. In HTML, if we create a basic table, it just displays its records without any borders or cell dividers. ... Read More

Borders in bootstrap with Examples

Nikhilesh Aleti

Nikhilesh Aleti

Updated on 04-Aug-2023 14:22:29

232 Views

The borders in bootstrap is used to add an outline to the HTML elements such as div, tables, etc. These borders helps to make the elements visually distinct. With Bootstrap, we can add borders, remove borders, specify border colors, modify border width, and create rounded borders. In Bootstrap, there are ... Read More

Splitting an array into chunks in JavaScript

Nikhilesh Aleti

Nikhilesh Aleti

Updated on 19-Dec-2022 17:57:39

2K+ Views

In this article the given task is to split array elements into n sized chunks in JavaScript. We have some approaches to perform the splitting operation on array, those will be discussed below. Let’s assume some simple input and output scenarios – Assume there is an array containing elements in it. ... Read More

Remove leading zeros in array - JavaScript

Nikhilesh Aleti

Nikhilesh Aleti

Updated on 19-Dec-2022 17:12:28

3K+ Views

In this article, the given task is to remove the leading zeros in an array in JavaScript. Before we dive into the examples, let’s get an understanding of the problem by looking at the input-output scenarios below. Input-Output Scenario Let’s look into some input-output scenarios - Assume that we are ... Read More

Decimal count of a Number in JavaScript

Nikhilesh Aleti

Nikhilesh Aleti

Updated on 19-Dec-2022 17:09:00

11K+ Views

Given there is a number with digits after decimal point and the task is to find the count of digits after the decimal point. Input Output Scenario Let’s look into the input output scenario, where there is a floating point number having some digits after decimal point. Input = ... Read More

Removing all the empty indices from array in JavaScript

Nikhilesh Aleti

Nikhilesh Aleti

Updated on 19-Dec-2022 17:06:35

1K+ Views

Given there is an array with some empty indices and need to remove those empty indices from array. Let’s look into the input output scenarios – Consider there is an array with some empty indices. Now we need to exclude them and return the elements which are having only truthy ... Read More

Filter array based on another array in JavaScript

Nikhilesh Aleti

Nikhilesh Aleti

Updated on 19-Dec-2022 17:03:04

12K+ Views

In this article, we are going to learn how to filter an array based on another array in JavaScript. An Array in JavaScript is used to store different elements. These elements are stored at contiguous memory locations. By using index numbers, we can access any or each data element present ... Read More

Picking the largest elements from multidimensional array in JavaScript

Nikhilesh Aleti

Nikhilesh Aleti

Updated on 19-Dec-2022 17:00:28

2K+ Views

Given a multidimensional array and the task is to pick the largest elements from it in JavaScript. The multidimensional arrays are an arrays inside an array. whenever there are arrays inside the array it will work as multidimensional array. Following is the one-dimensional array - const arr = ... Read More

Previous 1 ... 3 4 5 6 7 ... 10 Next
Advertisements