Manisha Patil has Published 46 Articles

How to change video playing speed using JavaScript?

Manisha Patil

Manisha Patil

Updated on 12-Dec-2022 14:40:51

2K+ Views

In this article let us understand how to use an HTML5 video tag to alter the playing speed of videos that are embedded in an HTML document. A number less than 1 slows down the video, a number greater than 1 accelerates the video, and then a number of 1 ... Read More

Why is JavaScript considered a loosely-typed language

Manisha Patil

Manisha Patil

Updated on 12-Dec-2022 14:30:47

2K+ Views

Since JavaScript is a loosely typed language, you are not required to correctly predict the kind of data that will be kept in a variable. Depending on the information you supply to a variable (such as this ‘ ‘ or " " to signify string values), JavaScript will automatically type ... Read More

What is the use of stopPropagation method in JavaScript

Manisha Patil

Manisha Patil

Updated on 12-Dec-2022 14:24:55

479 Views

The stopPropagation() methods will be covered in this article along with a useful sample of the code. After that, we'll look at the difference between stopPropagation() and PreventDefault() Methods. stopPropagation() event method − The parent element cannot access the event using this method. In general, this function is created to ... Read More

What is the role of deferred scripts in JavaScript?

Manisha Patil

Manisha Patil

Updated on 12-Dec-2022 14:21:48

1K+ Views

We must be aware of the JavaScript application's loading speed while running any script on an HTML page. Performance problems never cause harm to the programme. When we include a tag inside the HTML tag, the programme uses more memory and performs worse. The location on the HTML ... Read More

Unit Testing Challenges with Modular JavaScript Patterns

Manisha Patil

Manisha Patil

Updated on 12-Dec-2022 14:16:24

218 Views

First let us understand what unit testing is and how it helps us. One of the numerous varieties of automated testing is unit testing. Unit tests completely isolate and test relatively small portions of the application, comparing the results to the intended results. When unit testing your application, you normally ... Read More

Target a Window Using JavaScript or HTML

Manisha Patil

Manisha Patil

Updated on 12-Dec-2022 14:12:21

2K+ Views

In this article we will learn how to use the TARGET attribute to open a website in a new window using HTML and JavaScript TARGET attribute of HTML A link's opening named frame or window is specified using the Target attribute of the anchor tag. The concluding tag ... Read More

Implement Green Screen Algorithm using JavaScript

Manisha Patil

Manisha Patil

Updated on 12-Dec-2022 14:06:27

641 Views

The green background image is changed and replaced with any effect or other image using the green screen algorithm, also referred to as the chromakey algorithm. In short, what we're doing is swapping out all of the green pixels in the forward image with their matching counterparts in the background ... Read More

How to import a SVG file in JavaScript?

Manisha Patil

Manisha Patil

Updated on 10-Dec-2022 07:24:49

4K+ Views

Scalable Vector Graphic, sometimes known as SVG, is a type of 2D graphic or image file. In order to create visuals, SVG files employ mathematical formulas and a set of guidelines about shapes, lines, and other features. SVGs are simply XML code that specifies how colours should be presented, where ... Read More

How to prevent sticky hover effects for buttons on touch devices?

Manisha Patil

Manisha Patil

Updated on 09-Dec-2022 12:53:47

1K+ Views

In touch devices, an element sticks when a hover effect is added to it using CSS. This article will teach us how to deal with this problem. On touch devices, there is no hover effect, therefore the button stays in its original state. Without the Use of JavaScript: CSS's media ... Read More

How to detect copy paste commands Ctrl+V, Ctrl+C using JavaScript?

Manisha Patil

Manisha Patil

Updated on 09-Dec-2022 12:30:35

3K+ Views

You'll learn how to use javascript to detect the keystrokes ctrl+v in this article. When a user wishes to paste something into an input field, they have two options: either they can use the context menu by right-clicking on the webpage or they may use their keyboard by pressing the ... Read More

Advertisements