
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 8591 Articles for Front End Technology

699 Views
Any web browser ignores a comment, which is a piece of code. It's best practice to add comments to your HTML code, especially for complicated publications, so that anyone looking at the code can easily identify sections of the page and any extra notes. Comments make your code easier to read and understand for you and other users. In between tags, HTML comments are placed. Therefore, the browser will regard any content included in tags as a comment and will do nothing with it. Syntax Following is the syntax for comment - Let’s look into the following examples ... Read More

910 Views
The visual effect of an element is controlled by the filter property. The majority of the time, this attribute is utilized in image content to change the rendering, backdrop, border, etc. of the image. Following is the syntax for filter property - filter: none|blur()|brightness()|contrast()|drop-shadow()| grayscale()|hue-rotate()|invert()|opacity()|saturate()|sepia()| url(); let’s dive into the article for getting better understanding on saving an HTML element with filters to an image. Saving HTML element with filters to image An image can be included in an HTML page using the tag. Images are linked to online pages; they are not actually placed into web pages. ... Read More

429 Views
The task we are going to perform in this article is about how do you make a custom insertion point with a contenteditable div in HTML. Let’s dive into the article for getting better understanding on making a custom insertion point with a contenteditable div in HTML. The contenteditable div in HTML The contenteditable global attribute is an enumerated attribute that specifies whether or not the element should be user editable. In that case, the browser changes its widget to enable editing. Syntax Following is the syntax for contenteditable - For getting more idea on making a custom ... Read More

125 Views
The division tag is also known as the div tag. HTML uses the div tag to create content divisions in web pages such (text, images, header, footer, navigation bar, etc.). It is required to close the div tag, which has an opening () and closing () tag. The Div element is the most useful in web development because it allows us to divide out the data on a web page and create specific sections for different types of information or functions. Let’s look into the following examples for getting better understanding on how to select divs that has a specific ... Read More

504 Views
The task we are going to perform in this article is about how do you make an if statement in JavaScript that checks if a variable is equal to a certain word. What is an if...else statement When the condition in the if statement is true, a block of code will be executed. This is a form of conditional statement. The else block will be invoked if the condition is false. In if statements, truthy and falsy values are transformed to true or false. Syntax Following is the syntax for if else statement if (condition is true) { ... Read More

3K+ Views
Inline Frame is known as iframe in HTML. The tag designates a rectangular area within the content where a different document, complete with scroll bars and borders, may be displayed by the browser. To embed another document inside the current HTML document, use an inline frame. An element's reference can be specified using the HTML iframe name property. In JavaScript, a reference to an element is also made using the name attribute. Iframes are essentially used to display a webpage inside the one that is now shown. The URL of the document that contains the iframe is specified ... Read More

1K+ Views
When line breaks should occur, they can be changed using the word-break property in CSS. Text line breaks typically only appear in specific locations, such as after a space or hyphen. Following is the syntax for word-break word-break: normal|break-all|keep-all|break-word|initial|inherit; Let’s dive into the article for getting better understanding on how can we prevent word breaking into different line in HTML table. Before that let’s have a quick view on the HTML table. HTML tables Web designers can organize information like text, images, links, and other tables into rows and columns of cells using HTML tables. The tag is ... Read More

4K+ Views
In this tutorial, we will learn to create an id using mongoose in JavaScript. Users can use the Mongoose NPM package in NodeJS to use MongoDB with NodeJS or connect MongoDB with the application. While storing the data in the MongoDB database, we must add a unique id to every data collection. However, if we don’t add an id, it generates automatically and adds to the data. Syntax Users can follow the syntax below to create an id using mongoose in JavaScript. var newId = new mongoose.mongo.ObjectId(); In the above syntax, we access the ‘mongo’ from the mongoose and ... Read More

594 Views
We can get the union of two arrays by merging both arrays and removing duplicate elements, and the union gives unique elements from both arrays. In this tutorial, we will learn to compute the union of JavaScript arrays using various approaches. Use the set() Data Structure The first approach is using the set() data structure. The set data structure can contain only unique elements. We can add all elements of both arrays into the set and create a new array from the set’s elements to create a union. Syntax Users can follow the syntax below to compute the union of ... Read More

22K+ Views
Sometimes, it requires finding the total time elapsed while performing some operations in JavaScript. For example, we require to find the total time elapsed from users who have updated their profiles. Also, there can be other similar use cases where we need to find the difference between the particular time and the current time, finding the total time elapsed. Here, we will learn various approaches to finding the time elapsed in JavaScript. Using the Date() Object to find the time Elapsed in JavaScript In JavaScript, we can get the current time using the Date() object constructor. It returns the total ... Read More