
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- 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 10483 Articles for Web Development

330 Views
In the two-column layout, the content is organized into two columns of equal width. However, it can be a challenge to ensure that the background color of each column fills the full height of the content, especially when the content in each column is of different lengths. CSS grid is another option for creating responsive layouts with multiple columns Older layout methods, such as float and table-based layouts, can also be used but are not recommended due to their limitations and lack of flexibility Algorithm Define a wrapper class with display property set to flex. This will create a ... Read More

4K+ Views
A well−liked JavaScript framework for creating dynamic web apps is AngularJS. It offers a variety of helpful array−related tools, such as ways to measure the number of items in an array. In this article, we'll look into using AngularJS to count the number of items in an array. Method 1: Using the length property Using the built−in length property is the quickest and most popular method to count the number of items in an array in AngularJS. The length property gives the array's total amount of items. Algorithm Start Define an array 'myArray' and assign it to a ... Read More

2K+ Views
Child Node A node that is immediately nested inside another node in a document tree or DOM (Document Object Model) tree is referred to as a child node in JavaScript. Child nodes are in specific HTML elements, text nodes, and comment nodes that are nestled inside of other HTML elements when working with HTML documents. Method 1: Using the childNodes Property Utilizing the childNodes property is one method of counting child components. The NodeList of all child nodes, including text nodes and remarks, is returned by this property. We can loop through the NodeList and examine each node's nodeType property ... Read More

548 Views
In this tutorial, we will discuss TypeScript, a great option for programmers who have experience with static typing languages like C# and Java. We can benefit from TypeScript's type system, which offers improved code completion, earlier error detection, and clearer communication between different parts of our program. It's essential to remember that TypeScript is based on JavaScript, which has some fundamental differences from traditional OOP languages. By understanding these differences, we can avoid common mistakes that programmers transitioning from C#/Java to TypeScript might make. Syntax Users can use the following syntax to create variables using TypeScript − let variableName: type ... Read More

3K+ Views
One common task in software development is filtering objects based on specific criteria. In this tutorial, we will explore how to filter all matching objects in an object and its exactly the same children using Typescript. This technique can be particularly useful when working with complex data structures or when extracting specific information from nested objects. We will utilize TypeScript's powerful features, such as type annotations and object manipulation, to achieve this. Recursive Function with Type Guards for Filtering Matching Objects and Their Children We can use a recursive approach to filter all matching objects in an object and it ... Read More

750 Views
TypeScript, a superset of JavaScript, introduces static typing to JavaScript, allowing developers to catch potential errors and enhance code quality. One of the key features that set TypeScript apart is its support for structural typing. While other statically typed languages often rely on nominal typing, TypeScript embraces the concept of structural typing, which provides a more flexible and intuitive approach to type checking. In this tutorial, we will explore the concept of structural typing in TypeScript and its benefits and provide relevant examples to illustrate its usage. Understanding Structural Typing Structural typing is a type system that focuses on the ... Read More

540 Views
Access modifiers are essential because they allow us to enforce encapsulation and define the boundaries of class member accessibility. With access modifiers, we can restrict access to certain members, ensuring they are only accessible within the class itself. We can also make members public, allowing them to be accessed from anywhere in our codebase. Furthermore, protected members enable access within the class and its derived classes. In this tutorial, we will explore the private, public, and protected access modifiers in TypeScript. Syntax Users can follow the syntax below to apply access modifiers to class members in TypeScript − class ClassName ... Read More

497 Views
If you have ever worked with JavaScript libraries in your TypeScript projects, you may have encountered situations where you needed type information for those libraries. TypeScript declaration files, denoted with the .d.ts extension, provide type information for JavaScript code, enabling better static type checking and editor support in TypeScript projects. In this tutorial, we will explore different scenarios and methods for generating TypeScript declaration files from JavaScript libraries. We'll cover scenarios such as generating declaration files for existing JavaScript libraries, generating declaration files for your own JavaScript code, and leveraging tools like dts-gen and tsc to generate declaration files automatically. ... Read More

5K+ Views
Observe these procedures to view the HTML source on Google Chrome: Select 'View Page Source' from the context menu after performing a right-click on the website. To open the HTML source code in a new tab instead, click Ctrl+U on Windows/Linux or Command+Option+U on Mac. This makes the underlying code for the page's components, text, and scripts visible. Understanding a site's structure, performing debugging, and making focused modifications can all be facilitated by examining the HTML source. Methods Used Right-Click Keyboard Shortcut Developer Tools Right-Click Method Simply right-click anywhere on the webpage to view the HTML source using ... Read More

2K+ Views
To put background pictures in frames in HTML, you'll use CSS (Cascading Style Sheets). By applying CSS properties to the outline components, you'll set a foundation for each outline. The CSS property "background-image" is used to indicate the URL of the picture you need to use as the foundation. You'll also alter other background-related properties such as background-size, background-repeat, and background-position to control how the picture shows up inside the outline. By including these CSS properties in the fitting outline components, you'll be able to successfully apply foundation pictures to outlines in your HTML report, upgrading the visual introduction and ... Read More