In this tutorial, we will learn how to get the innerHTML of a cell with JavaScript DOM. Use the innerHTML property in JavaScript to get the innerHTML of a cell. We can manipulate the DOM (Document Object Model) easily using document.getElementById(). It is a method that returns the element object that represents the id of the element whose id is mentioned in the method’s parameter. Since every tag’s id is unique, we can easily access the element by its id. Then the innerHTML property will help to access the text or content of that tag Using Table cells Collection To ... Read More
In this tutorial, we will learn how to name JavaScript Identifiers. Identifiers in JavaScript are the names we give to variables, arrays, objects, functions, etc We must give the names unique to identify them properly. There are some rules we must follow to name the identifiers that are common to most languages. Rules for naming Identifiers There are certain rules we have to follow before naming an identifier. A proper name helps the programmer to make the code more effective. The rules are the following − JavaScript identifier names should not start with any numeric values like 0-9. For ... Read More
In this tutorial, we will learn how to lay out table cells, rows, and columns with JavaScript. We can construct and edit DOM (Document Object Model) elements using JavaScript. There are two ways to add HTML components, such as tables, to an HTML document. The first is to include the HTML table tag directly into our HTML webpage, and the second is to create the full table within our JavaScript code. The second method is the most commonly used for building and adding tables to the DOM. The tr abbreviation refers to the table row. This reflects the complete table ... Read More
In this tutorial, we will learn how to know whether the border and background of empty cells are hidden or not with JavaScript. The JavaScript programming language can be used to create and modify DOM elements. There are two ways to incorporate HTML elements like tables into an HTML document. The first involves adding the HTML table tag straight to our HTML webpage, while the second involves writing the entire table as JavaScript code. The second approach is the most frequently used to create and include tables in the DOM. The tr abbreviation indicates the table row. This represents the ... Read More
In this tutorial, we will learn to get the number of internet host port for the current page in JavaScript. The Port number is a 16-bit unique ID of protocols. The port number ranged from 0-65535. The port number is used to find a process by the server. There are 65535, and each port number is associated with its identity. So, let us look to get the port number for the current page in JavaScript. Following are the methods by which we can get the port number of the internet host − Using the location.port Property Using the URL ... Read More
This tutorial will discuss how to write swift program to find minimum set element using library function. Set is a primary collection type in Swift. It is an unordered collection which stores unique values of same data type. You are not allowed to store different type of values in the same set. A set can be mutable or immutable. To find the smallest set element Swift provide an in-built function named min(). This function return minimum element from the given set. It will return nil if the given set is empty. Here the returned object of type Optional . So ... Read More
Voca is a JavaScript library that is used for manipulating strings. In this tutorial, we will take multiple examples to show how you can use the different functions available in Voca. Features of Voca Before we see all the examples, let's highlight some features that Voca brings to the table − It provides a multitude of functions that can be used to manipulate, query, escape, format strings. It also provides a detailed and searchable documentation. It supports a wide range of environments like Node, js, Safari 7+, Chrome, Firefox etc. It doesn't require any dependencies How to Install ... Read More
Morgan is a middleware that is available for Node.js which is used when we want to log HTTP requests. It is mainly used in Express projects. Morgan helps us simplify the logging work of HTTP requests that come and sent from an application in a single statement. In normal situations, developers often write all the logging code by hand and then end up logging what to store, how to save, and where everything is saved. It helps in gathering logs from your server and also prepares them for reading. It also has many predetermined defaults built-in to help the developers. ... Read More
People can post educational and entertaining video content on YouTube. It functions through channels that are owned by people or businesses. To offer support, viewers can subscribe to these channels, and You Tubers foster a strong feeling of community with these followers. However, some people post offensive comments that can harm the neighbourhood and foment animosity. Such comments might be deleted by many YouTubers. Additionally, there are situations when you may want to remove an unintentional statement that you made in a channel's comment section. So, how do you delete all comments on YouTube? This how-to blog will demonstrate. ... Read More
Introduction GitHub and GitLab are both open-source platforms that use the Git system for version control. Because of this, it is crucial that you select the right tool for your team. This blog aims to resolve all your project puzzles and explain the differences and similarities between GitHub and GitLab. So you can choose them accordingly What is GitHub? The geek world raves about GitHub all the time, but most people are still unaware of what GitHub actually is. In short, GitHub is a web service that helps professionals track and manage their code, as well as store and manage ... Read More
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP