Found 8894 Articles for Front End Technology

How to add Full-Screen Background Video using Tailwind CSS?

Diksha Patro
Updated on 31-Jan-2023 15:54:13

6K+ Views

Introduction In this article, we will show you how to add a full-screen background video to your webpage using Tailwind CSS. Tailwind CSS is a utility-first CSS framework that makes it easy to create responsive and consistent designs. It provides a set of CSS classes that you can use to quickly add styles to your HTML elements. Adding a full-screen background video to your webpage can be a great way to enhance the user experience and add visual interest to your website. With Tailwind CSS, it is easy to create a full-screen background video that looks great on all devices ... Read More

How to add Flash content within a webpage in HTML?

Diksha Patro
Updated on 22-Nov-2023 21:35:54

2K+ Views

Introduction In this article, we will show you how to add Flash content within a webpage using HTML. Flash content is a type of multimedia that can be used to add interactive elements such as videos, games, and animations to a webpage. However, Flash is now considered outdated technology and not recommended to use in modern web development due to security and accessibility concerns. It is recommended to use other technologies like HTML5, CSS, and JavaScript for adding multimedia content to web pages Approaches The approaches that we will be discussing to implement this are as follows − Using ... Read More

How to add a file uploads function to a webpage in HTML?

Diksha Patro
Updated on 31-Jan-2023 15:49:50

3K+ Views

Introduction In this article, we will walk you through the process of adding a file upload function to your webpage. We will show you how to create an HTML form with a file input field, as well as how to create a script that handles the file upload process. Approaches Two approaches that we can use to add a file upload function to our webpage in HTML are as follows − Using a basic HTML form with a file input field Using jQuery and ajax Let us discuss them in detail now. Approach 1: Using a basic HTML ... Read More

How to add fade-in effect using pure JavaScript?

Diksha Patro
Updated on 31-Jan-2023 15:47:20

6K+ Views

Introduction We use the fade effect to bring attention to certain parts of our website by gradually increasing or decreasing their opacity. This gradual change in opacity is called the fade-in or fade-out effect. When we gradually increase the opacity, it's known as the fade-in effect and is used to make the selected part of the page become more visible over a chosen amount of time. This creates a smooth transition and helps make our website more dynamic and engaging for our users. In this article, we will be exploring a few ways in which we can implement the fade-in ... Read More

Explain about EventHandler with Examples in JavaScript

Saurabh Anand
Updated on 19-Jan-2023 13:07:07

1K+ Views

JavaScript Events, Are you familiar with them? Any action that occurs when we interact with a website is a JavaScript event. These actions include hitting a key on the keyboard, selecting an option in a select box, moving the mouse cursor, and so on. A JavaScript event handler is a function that is called when any of these events fires. In this article, we are going to talk about event handlers, their implementation, and its components with various coded examples. Events You may create JavaScript code that responds to certain conditions using events. Events that come to mind are − ... Read More

Event Firing in JavaScript

Saurabh Anand
Updated on 19-Jan-2023 12:59:18

805 Views

Events in JavaScript are the actions performed by the browser or the user. Some of the examples of events are − On webpage load On keypress On hover On click, etc. When javascript code is embedded in HTML runs, js reacts to these events and allows the code to run. Whenever these JavaScript codes are executed we call it firing an event. Example Let’s see an easy example to understand the whole concept of event firing, from beginning to end. Click me!! I change number. ... Read More

ES2022 JavaScript at() Method

Saurabh Anand
Updated on 19-Jan-2023 12:56:07

163 Views

JavaScript is a powerful and versatile programming language that is widely used for both front-end and back-end development. One of the features that makes JavaScript so powerful is its extensive standard library, which includes many built-in methods for working with strings, arrays, and other data types. One such method is the at() method, which was introduced in ECMAScript 2022 and is used to retrieve the character at a given index in a string. In this tutorial, we'll take a look at how to use the at() method, as well as explore some of its advantages over the older charAt() method. ... Read More

ES2015: Latest version of JavaScript

Saurabh Anand
Updated on 19-Jan-2023 13:19:49

347 Views

ES2015, also known as ECMAScript 6, is the latest version of JavaScript that was officially released in June 2015. It brings a number of new features and improvements to the language, making it easier to write more efficient and maintainable code. In this tutorial, we will take a look at some of the most significant changes and additions that were introduced in ES2015, and how they can be used to write better JavaScript. New Feature: Let and Const Declarations ES2015 introduces two new ways to declare variables: let and const. The let keyword is used to declare variables that can ... Read More

ES6 Trampoline Function

Saurabh Anand
Updated on 19-Jan-2023 12:50:38

331 Views

In this tutorial, we will mainly focus on the Trampoline function that appeared first in ES6(ECMAScript 6). We will start with the discussion of the Trampoline function. Need of using the Trampoline function. Advantages and disadvantages of using the Trampoline function. Now, let’s see the Trampoline function. What is a Trampoline Function? The trampoline is just a mechanism for optimizing recursion and preventing stack-overflow errors in languages that do not provide tail call optimization, such as JavaScript ES5. To overcome this problem of tail call optimization, trampoline was introduced in ES6 version. A trampoline function is essentially a loop that ... Read More

ES6 Features and Syntax

Saurabh Anand
Updated on 19-Jan-2023 12:43:59

217 Views

ECMAScript 6, also known as ES6 or ECMAScript 2015, is the latest version of the ECMAScript language specification. It was released in 2015 and introduced many new features and syntax improvements to JavaScript, making it easier to write and maintain complex applications. In this tutorial, we'll take a look at some of the most important ES6 features and syntax improvements, and how they can make your code more efficient and easier to read. Let and Const ES6 introduces two new declarations for variables: let and const. The let declaration is similar to the var declaration, but it has a block ... Read More

Advertisements