Skip to content

WebDevHubs

  • Home
  • HTML
  • CSS
  • JavaScript
  • Web Technologies
  • Web Templates
  • Toggle search form

Category: Web Technologies

JavaScript 2D Array – Two Dimensional Array in JavaScript

Posted on December 11, 2024 By Admin No Comments on JavaScript 2D Array – Two Dimensional Array in JavaScript

JavaScript 2D Array (Two-Dimensional Array in JavaScript) is a data structure that is used to store elements in a grid-like fashion using rows and columns. It can be visualized as an array of arrays, where each inner array represents a row. 2D arrays are useful in scenarios like representing matrices, tables, or grids in a…

Read More “JavaScript 2D Array – Two Dimensional Array in JavaScript” »

JavaScript, Web Technologies

Design an Identity Card using HTML and CSS with Source Code

Posted on December 11, 2024February 22, 2025 By Admin No Comments on Design an Identity Card using HTML and CSS with Source Code

Identity Card is an official document used to verify a person’s identity. It contains details like name, Address, Date of Birth, Photo, etc. Any Government or Private workplace, school or organization can issue identity cards. In this article, we will learn how to design an Identity Card with HTML and CSS. We will see a…

Read More “Design an Identity Card using HTML and CSS with Source Code” »

CSS, HTML, Web Technologies, Web Templates

How to Insert an Item into an Array at a Specific Index in JavaScript?

Posted on December 5, 2024March 20, 2025 By Admin No Comments on How to Insert an Item into an Array at a Specific Index in JavaScript?

Given an array and index, the task is to insert a particular item at a given index. There are multiple ways to insert an item into an array at a specific index in JavaScript. 1. Using splice() Method The splice() method is used to modify the original array. This method can be used to insert,…

Read More “How to Insert an Item into an Array at a Specific Index in JavaScript?” »

JavaScript, Web Technologies

JavaScript Array indexOf() Method

Posted on December 5, 2024December 18, 2024 By Admin No Comments on JavaScript Array indexOf() Method

The indexOf() method returns the first index at which the element can be found in the array, or -1 if the element is not present. This method is case sensitive for string element. Syntax Parameters Parameters Descriptions searchElement The element whose index is to be find. fromIndex (Optional) Its default value is 0, which means…

Read More “JavaScript Array indexOf() Method” »

JavaScript, Web Technologies

JavaScript Array Methods

Posted on December 4, 2024December 18, 2024 By Admin No Comments on JavaScript Array Methods

JavaScript Array Methods provide powerful built-in functions to perform operations on array. These methods simplifies the operations like – adding, removing, searching, sorting, filtering, and other operations. Here is an example that demonstrates the basic array operations. Below are the list of all JavaScript array methods with their brief description. Method/Property Description JavaScript Array() constructor…

Read More “JavaScript Array Methods” »

JavaScript, Web Technologies

Array in JavaScript

Posted on December 4, 2024February 11, 2025 By Admin No Comments on Array in JavaScript

Array in JavaScript is a collection of elements, where the array elements can be of any type like – numbers, strings, objects, or even other arrays. The index of JavaScript Arrays starts from zero, which means the first element is accessed with an index of 0. Create an Array There are different ways to create…

Read More “Array in JavaScript” »

JavaScript, Web Technologies

Posts pagination

Previous 1 … 9 10

Archives

  • June 2025
  • May 2025
  • March 2025
  • February 2025
  • January 2025
  • December 2024

Categories

  • CSS
  • HTML
  • JavaScript
  • Lodash
  • PHP
  • Python
  • Web Technologies
  • Web Templates

Recent Posts

  • JavaScript Array isArray() Method
  • JavaScript Array forEach() Method
  • JavaScript Array includes() Method
  • JavaScript Array keys() Method
  • JavaScript Array lastIndexOf() Method

Recent Comments

No comments to show.

Copyright © 2025 WebDevHubs.

Powered by PressBook Green WordPress theme